Skip to content

A client-server application that allows users to log in and play battleships. Additionally, users can write chat messages to each other.

Notifications You must be signed in to change notification settings

RafMat159/battleships

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

80 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Battleships

Table of Contents

Introduction

A client-server application that allows users to log in and play battleships. Additionally, users can write chat messages to each other.

Database model

image

Class diagram

battleships-diagram

User documentation

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.

image

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

image

Entering the wrong password.

image

Creating a new account.

image

Screen view when only one user has joined the game and is waiting for another to join the table.

image

One player's game screen after taking several turns and sending several messages between them.

image

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.

image

Inspiration

https://github.com/AlmasB/Battleship.git

About

A client-server application that allows users to log in and play battleships. Additionally, users can write chat messages to each other.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages