Skip to content

NguyenBui256/ShipBattle-Game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 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 and number. 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 Bùi Thế Vĩnh Nguyên, in the course of Object Oriented Programming at ProPTIT.

Tech Stack

Installation

  • Clone the repo
  • Open: Product \ GameLauncher (Batch File).
  • Enjoy the game

Demo

Images:

Alt text Alt text Alt text Alt text

Usage

  • Project Structure
├── src
│   ├── Audio
│   ├── Classes
│   │   │   ├── Ingame.java
│   │   │   ├── Main.java
│   │   │   ├── Starting.java
│   │   │   ├── Leader.java
│   │   │   ├── Board.java
│   │   │   ├── Settings.java
│   ├── Data
│   │   │   ├── saveLoadFunction.java
│   │   │   ├── leaderBoard.txt

UML

Class Diagram:

Alt text

Activity Diagram:

Alt text

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

Console game using Java

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages