Battlehips game with ai and network
- Play vs an AI
- Play over the network
- Simulate AI vs AI
- 3 different AI difficulty levels
- Cheatmode: Get tips where to shoot
- assets: images, music, stylesheets, csv_data
- binaries: The compiled .jar file(s) for execution
- docs: docs for developers and for users + class diagrams
- lib: jar files of the dependencies
- src: java source code
- go into the binaries folder
- on windows: just double click the battleships.bat file
- all platforms: in the console write:
java -jar Battleships.jar
- You need java installed and the console must find it
- You can also pass the full path to the java executable
- File -> Import -> Projects from Folder or Archive
- Select this repository
- click finish (It is normal, that there will occur Errors. followings steps should solve them)
- goto src/core.test.TestCommunicationData
- click on the error sign on the left side and select:
- Add JUnit 5 library to the build path
- (Probably delete problems)
- right click assets folder -> Build Path -> Use as Source Folder
- Start src/gui.Main
- Java 8+
- JavaFX2 (Included in Java 8)
- jackson 2.1+ (.jar files are in lib folder)
- junit 5.1 (only for tests)