GithubHelp home page GithubHelp logo

sucong2 / webgame Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 15 KB

8*8격자모양의 플레이그라운드에서 5명의 플레이어가 스파이를 피하고 잡는 게임

HTML 22.71% JavaScript 30.49% Python 46.80%

webgame's Introduction

게임 제목: Mystery in the Grid

게임 설명

  • 게임 환경: 이 게임은 8x8 그리드 상에서 진행되며, 총 5명의 플레이어가 참여합니다.
  • 플레이어 역할: 플레이어 중 한 명은 비밀스럽게 스파이로 지정됩니다. 나머지 4명은 일반 플레이어입니다.
  • 게임 목표: 일반 플레이어는 스파이를 피해 생존해야 하며, 스파이는 다른 플레이어를 찾아 점수를 얻습니다.

게임 플레이

  • 시작: 게임이 시작하면, 플레이어들은 무작위 위치에 배치됩니다.
  • 플레이어 이동: 플레이어는 상하좌우 키보드 방향키를 사용하여 이동할 수 있습니다.
  • 스파이와의 만남: 일반 플레이어가 스파이와 같은 위치에 오게 되면, 스파이는 점수를 획득하고 해당 플레이어의 화면은 'Game Over' 상태가 됩니다.

기술 스택

  • 프론트엔드: HTML, CSS, JavaScript
  • 백엔드: Python, Flask, Flask-SocketIO

설치 방법

  1. 이 저장소를 클론하거나 다운로드합니다.
  2. 필요한 라이브러리를 설치합니다:
    pip install -r requirements.txt
    
  3. 애플리케이션을 실행합니다:
    python app.py
    

사용 방법

  • 웹 브라우저에서 애플리케이션에 접속하여 게임에 참여할 수 있습니다.
  • 플레이어 ID와 역할은 게임 시작 시 자동으로 할당됩니다.

webgame's People

Contributors

sucong2 avatar

Watchers

 avatar

webgame's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.