Documentation ¶
Overview ¶
This application handle logic and connection to API server. In connection package there is handling of different endpoint connections and create containing struct responses. In application pacakage there is a logic, GUI and Ship positioning of the application. Whole game is the classic battleship game played with other users or bots on the server. Server receive information like playrs nick, shots, ship positioning, person to challenge and give responses like shot result, enemy shots, leaderboard and results of the game.
Directories ¶
Path | Synopsis |
---|---|
application implements logic of the game
|
application implements logic of the game |
menu
menu create main menu of the game
|
menu create main menu of the game |
setShips
setShips handle a logic to position ships by the player
|
setShips handle a logic to position ships by the player |
ship
contain algoritm which find all ship nodes
|
contain algoritm which find all ship nodes |
timer
timer create a clock which count turn time
|
timer create a clock which count turn time |
connection package handle connection to rest-api server Warships Online API
|
connection package handle connection to rest-api server Warships Online API |
Click to show internal directories.
Click to hide internal directories.