https://github.com/jacintogomez/battleship
Implementation of Battleship using Java Swing UI
https://github.com/jacintogomez/battleship
java sqlite swing-gui
Last synced: about 2 months ago
JSON representation
Implementation of Battleship using Java Swing UI
- Host: GitHub
- URL: https://github.com/jacintogomez/battleship
- Owner: jacintogomez
- Created: 2023-11-08T22:20:17.000Z (over 2 years ago)
- Default Branch: battleship_online
- Last Pushed: 2023-12-11T23:40:25.000Z (over 2 years ago)
- Last Synced: 2025-03-30T07:17:34.800Z (about 1 year ago)
- Topics: java, sqlite, swing-gui
- Language: Java
- Homepage:
- Size: 13.1 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Java Battleship Game
This is a Java remake of the boardgame Battleship that my partner and I worked on in our Java class. The user plays the game against a computer with a built in BFS ship finding algorithm. The game can be saved to a database midway through and reloaded later on.
## Steps to run:
### Without database:
(just the game, no save state/reloading capabilities)
1. Clone repo
2. In `src/battleship` run the `NoSaveState.java` file
### With database:
1. Clone repo
2. In `src/battleship` run the `RunThisApplication.java` file