An online CLI BattleShip game.
My main motivation to create this CLI replica of the BattleShip game was to learn how to connect different users on different networks to play against each other online. The app is hosted on a Raspberry Pi computer connected to the internet where users can connect to via Telnet.
Git clone the repo and run ruby lib/battle_ship.rb
. This will start the game server.
In another tab enter nc localhost 2979
. This will connect to the local server.
Have fun! 🚢