Skip to content

NgNhatThanh/SeaBattle-JavaGame

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sea Battle

Sea Battle is a game for two players. The game is played on four grids, two for each player. The grids are typically square – usually 10×10 – and the individual squares in the grid are identified by letter. On one grid the player arranges ships and records the shots by the opponent. On the other grid the player records their own shots.

The project was done by Nguyễn Nhật Thành, in the course of Object Oriented Programming at ProPTIT.

Video Demo: Youtube Link

Tech Stack

Installation

  • Install JRE/JDK
  • Clone the repo
  • Run the 'GameLauncher.bat' batch file to play the game

UML

  • Class Diagram: Alt text
  • Activity Diagram: Alt text

Demo

Alt text

Alt text

Alt text

Alt text

Alt text

Usage

  • Project Structure
├── src
│   ├── Main
│   │   ├── NewGame
│   ├── Entity
│   │   ├── Player
│   │   ├── Bot 
│   │   ├── Board   
│   │   ├── Ship
│   ├── Feature
│   │   ├── GameLoad
│   │   ├── Leaderboard
│   │   ├── Sound
│   ├── Tool
│   │   ├── Checker
│   │   ├── Print
│   │   ├── Screen
│   │   ├── Table
│   ├── Documents

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

License

MIT

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published