RKUBS - Battleships

Description

A text based network implementation of the well known game.
It can be played over a TCP/IP network and the internet respectively.

The main features are:

Download

Check out the git repository at http://tocix.bitkanal.net/git/rkubs.git

   $ git clone http://tocix.bitkanal.net/git/rkubs.git

You can also browse the repository via gitweb, that you can find here:

   http://repo.or.cz/w/rkubs.git

A pre-compiled version of RKUBS for Windows can be found here:

   rkubs_win.zip

Screenshots


Documentation

How to compile the game
Compile the source code with the following command:

   $ gcc -o rkubs rkubs.c -DWITH_ANSI_ESCAPE_SEQ -lcrypto

Or if you want a version without ANSI colors:

   $ gcc -o rkubs rkubs.c -lcrypto

RKUBS accepts the following parameters:
  rkubs [-h] [-p <port>] [-n <name>] [<host>]

  -h          print usage
  -p <port>   set tcp port
  -n <name>   your name (defaults to username)
  <host>      Join game hosted by <host>
How to start a new game
The host player starts the game without any command line arguments.
  $ rkubs
  RKUs Battleship Game
  *** Hosting game "rene's game".
  *** Waiting for opponent (^C to abort)...
The other player starts the game with the ip address or the hostname he wants to connect to.
  $ rkubs some.host.example
  RKUs Battleship Game
  *** Connecting to game at 127.0.0.1....Connected!
  *** Joining the game...ok
TCP-Port
By default RKUBS uses the TCP-port 42339.
This can be overriden with the -p command line argument.

License

RKUBS is licensed under the terms of the GNU General Public License version 2.
You can find a copy of that license here:

   GPLv2.asc
   http://www.gnu.org/licenses/gpl-2.0.html

Copyright © 2006-2008 Rene Kuettner <rene AT bitkanal DOT net>