Something went wrong on our end
-
Jake Feddersen authoredJake Feddersen authored
README 806 B
Networked Battleship Implementation Jacob Feddersen Compile: `make` Run: `./battleship` There are no command line parameters for this program I abstracted the network code for this game to the point where either a client or server is instantiated, and otherwise the rest of the code is exactly the same. The server prints all of the interfaces it knows so the user can select to which it should bind. It then prints the IP so the user can connect a client to it. The client prompts the user to enter an IP so it can connect. Controls: * Move targeting pointer: Arrow keys * Select target: Space Known bugs: * Ncurses queues input while waiting for the opponent to move * The game does not know how to handle when the opponent disconnects, and either exhibits undefined behaviour or crashes