A client-server application that allows users to log in and play battleships. Additionally, users can write chat messages to each other.
From the start screen, it is possible to view a list of the top ten users. From this screen, it is also possible to log into the application and later start the game.
After entering the login and password, the password is hashed and the database is queried. If:
- Valid data has been entered - login occurs and the game screen is turned on
- A new username has been entered - a new account is created and after displaying prompt note, the game is turned on
- An invalid password has been entered - an invalid password prompt is displayed
Entering the wrong password.
Creating a new account.
Screen view when only one user has joined the game and is waiting for another to join the table.
One player's game screen after taking several turns and sending several messages between them.
After a game is completed (either won or lost), a game status prompt is displayed, allowing you to start a new game and be assigned to a new table, or to end the game and shut down the application.