| Description | Getting Started | Built With | Author | License |
It is console realisation of the game Battle Ship in Java
Game going through players in the room. The room may contains 2 or more players. If the room includes more then 2 players than game going through cyclic. Example: We have room with 3 players: A, B, C. Games looks so:
- A attacks B
- B attacks C
- C attacks A
- ... and etc in the same way
When one of them won't have alive boats he'll lose and skipped. Player before them will attack next player. Game continues while all players almost one will lose.
- PC (Automatically generate data. Has some logic)
- UI (Will request data from the user)
You can choose every player whom it can be at the moment of initialisation.
In any moment of the constellations or game process you can type plying as UI r or random
r - for random step
random - for repeated random steps
Other
chat <some text> - sending message to all players in the room
It has possibility of playing via the internet. And you can secure your room with password. In web mode you can chat with all competitors. Just type chat <message> when coordinates for attack or was requested, then all participants will see it. In any mode you can make your computer play for you, for that you should call yourself "PC".
- Download project
- Install java version 14 or newer
- Run SeaBattle.java from the IntelliJ IDE
- Java 14 - Language
This project is licensed under the v3.0 License - see the LICENSE file for details