This is a slighty modified version of the original game. This is a multiplayer game. What I mean, is that you can play against multiple robots or humans. One play against the others, so when you fire, you fire against all the players ( but not against you, of course ).
This package consist of 3 modules:
gbnserver: The gnome batalla naval server.
gbnclient: The gnome batalla naval client.
gbnrobot: The gnome batalla naval robot.
The robot is an executable, (as the server, and the client), but you dont need to run it by yourself. The server, and the client are able to launch the robot. These three packages need Gnome 1.0 (or superior) to run. I'm porting the server to a curses version (as well as the robot, and the client)
Left window | Right window |
It must be filled with your ships. You must complete it with 10 ships:
4 ships of 1 unitPress "random" to generate a valid pseudo-random board. |
In this window you will have as many "notebooks" or "tabs" as players (including yourself). You must fire is these windows. Any fire that you made is delivered to all the players (except you) |
The server, also binds a socket using AF_LOCAL (or AF_UNIX).
This method is used by the robot, so the robot only can run in the server
machine (It is not difficult to modify the robot, so it can run through
the internet).