Menu

Tree [862fba] master /
 History

HTTPS access


File Date Author Commit
 audio 2010-12-19 mermik mermik [539e08] Initial commit
 src 2010-12-19 Miklos Merenyi Miklos Merenyi [862fba] Changes to be committed:
 AUTHORS 2010-12-19 mermik mermik [539e08] Initial commit
 BUGS 2010-12-19 mermik mermik [539e08] Initial commit
 ChangeLog 2010-12-19 mermik mermik [539e08] Initial commit
 License 2010-12-19 mermik mermik [539e08] Initial commit
 Makefile 2010-12-19 mermik mermik [539e08] Initial commit
 NEWS 2010-12-19 Miklos Merenyi Miklos Merenyi [139f8d] Changes to be committed:
 ReadMe 2010-12-19 mermik mermik [539e08] Initial commit
 TODO 2010-12-19 mermik mermik [539e08] Initial commit
 nog_ncurses 2010-12-19 mermik mermik [539e08] Initial commit
 nog_ncurses_nosound 2010-12-19 mermik mermik [539e08] Initial commit
 nog_srv 2010-12-19 mermik mermik [539e08] Initial commit
 wordlist.txt 2010-12-19 mermik mermik [539e08] Initial commit

Read Me

Net-o-Grama : a networked word game, which could be played alone or against some friends.
2008 (C) Miklos Merenyi mermik@users.sourceforge.net
 
The idea, the current sounds, and many functions came from the nice Anagramarama game (http://www.coralquest.com/anagramarama/) written by Colm Gallagher ( colm@coralquest.com ).

For displaying large letters on the console I used code found on http://ftp.uniroma2.it/unix/comp.sources.unix/volume26/banners/part01. 
	
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA


Compiling:
----------
You need to have the development files for glib-2.0, ncurses, sdl and sdl-mixer,
but the precompiled (on Ubuntu 7.10) binaries can be found in the tar package if you do not want to toil.

    cd to the main dir of nog:

	$make all 
        this will produce 3 executables: 
            nog_srv - the server
            nog_ncurses - ncurses client with (sdl) sound
            nog_ncurses_nososund - ncurses client without sound


Playing:
--------
    While still in the nog dir

    $./nog_srv 
    This will start the server with the default settings. A server can accept connections from up to 4 clients at the same time.
    You can tpye commands (see "Server commands")

    In another terminal (which could be on another machine having the same program) cd to the nog dir:

    $./nog_ncurses 
        or if you are on a remote machine
    $./nog_ncurses -s remote.server 
        or if you do not want sound replace "nog_ncurses" with "nog_ncurses_nosound"

    Press enter in the client's window to become ready. The game starts, when all connected players are ready.

Server commands:
----------------
	start   - start a new game with the currently connected players
    solve   - solve the puzzle, end the game
	list    - list players connected
    drop s  - drop player connected to socket number s 
    time n  - set gametime to n seconds
    quit    - quit

Keys during gameplay:
---------------------	
	            a..z - Move the first occurance of the letter to the end of the guess
                1..7 - Move the letter in the nth position to the guess 
	           SPACE - Shuffle remaining letters
	           Enter - Check and erase guess 
	     Right arrow - Check guess, but do not erase it
	      Left arrow - Erase last letter from the guess
	       Backspace - Erase the whole guess without checking
                 TAB - Give game up
       ESC or CTRL-C - Exit

Keys before gameplay:
---------------------
	           Enter - become ready (if every connected player is ready, a game will start automatically)
       ESC or CTRL-C - Exit

Further options:
----------------
    Launch the binaries with the "-h" switch to see them all.