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.
The feature can be split into two main categories:
- Login to the game
- Choose to play online. The user will be matched with another online player.
- Choose to play offline with another player on the same machine.
- Choose to play offline with the computer.
- Register a new user.
- Log in to the site.
- Download the game.
- View the match history.
- The other player's name.
- Game winner.
- Each player score.
- Read the game description and rules.
- View the highest score panel.
- View other users profile and matches history.
- 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.
Licensed under the BSD 2-Clause License