Giter VIP home page Giter VIP logo

pocket-tanks's Introduction

Pocket Tanks Game

Description

Pocket tanks is a multiplayer game between two players. The game can be played online by random matching with another player on the network or played offline between two players on the same machine. The game has a website to show different statistics and provides some functionality related to the game to the users.

Features

The feature can be split into two main categories:

Features available for the user on the game itself:

  1. Login to the game
  2. Choose to play online. The user will be matched with another online player.
  3. Choose to play offline with another player on the same machine.
  4. Choose to play offline with the computer.

The feature available for the user on the website:

  1. Register a new user.
  2. Log in to the site.
  3. Download the game.
  4. View the match history.
    • The other player's name.
    • Game winner.
    • Each player score.
  5. Read the game description and rules.
  6. View the highest score panel.
  7. View other users profile and matches history.

Screenshots

Screenshot menu

Screenshot game

Design

Architecture

architecture

  • As shown in the figure, the user can interact with either the local game, or the web front end in the browser.
  • Matching two players will be done through a WebSocket server.
  • The WebSocket server is the main communication channel between the two players while playing the game.
  • At the end of each game, the local desktop game will send some statistics about the game results(the winner, score, players,.) to the webserver through an HTTP API.
  • The webserver communicates with the database server to save and show the data on the site front-end.

User sequence diagram

User-Sequence

Database design

database-diagram

License & Copyright

Licensed under the BSD 2-Clause License

pocket-tanks's People

Contributors

redatawfik avatar neroli-realy avatar mahmoudmuhammedali avatar seifmotaglly avatar emadhashem avatar

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.