1 Tornado readme file 2 (last modified September 3rd, 2002) 3 4License: 5 6Tornado is released under the conditions of the GNU General Public 7License. See the file COPYING included in this software package for 8details. This program comes with NO WARRANTY of any kind and is provided 9as "AS IS". See section 11 of the GNU General Public License. 10 11For a detailed description of the program see the tornado manpage or 12the webpage at http://www.lionking.org/~kiza/linux/tornado/. 13 14The multiplayer server of Tornado runs on port 3000 TCP. The port is 15defined in the file main.c. 16 17Installing: 18 19The short way: 20 21 make 22 make install (as root). 23 24Uncompress the archive (what you'll likely have already done) and just 25type "make". When compiling is finished type "make install" as root. That 26will install the tornado binary in /usr/local/bin/tornado, the manpage 27in /usr/local/man/man6/tornado.6 and the scorefile in 28/var/games/tornado.scores (location changed in version 1.0). If you'd like 29to place the files into a different directory, edit the "Makefile" and 30change the variable "PREFIX". Setting it to "/usr" will install in 31/usr/bin and /usr/man/man6 for example. 32 33If the program does not compile on your system make sure you've got 34the latest version of gcc and the ncurses library. If the program 35still does not compile you can write me a mail at kiza@gmx.net. If you 36get the error message "undefined reference to 'getnstr'" when 37compiling the program you've got a too old version of the ncureses 38library that doesn't implement the 'getnstr' function. Sorry, but you 39can't compile it unless you upgrade to ncurses 5.0. 40 41System Requirements: 42- A working C compiler environment. 43- GNU make 44- GNU utils. 45- GNU textutils. 46- ncurses 5.0 or above (It may compile on earlier version; see above). 47- GNU wget is required for the online highscore and online players site. 48 The game runs without it in single/multiplayer/network play as well. 49 50If the locale stuff does not work for some reason 51(main.c:32: libintl.h: No such file or directory), you can still 52compile and install the program with "make tornado-no-locale" and 53"make tornado-no-locales-install". 54 55 56ncurses vc. curses: 57 58The program also works with BSD curses. To compile with curses, edit 59the Makefile and replace "-lncurses" with "-lcurses" in the line LDFLAGS 60on top of the file. The 'getnstr' notice from above applies to curses, too. 61 62 63How to activate the computer player: 64 65If you want to play against the computer, just leave the field for one of 66the players blank when you are asked for the names. The computer will take 67over that part. See also the tornado manpage. 68 69 70Misc stuff: 71 72After Tornado was announced on freshmeat for the first time on Sun Apr 7323th, 2000 the webpage had 500 hits and the program was downloaded about 74200 times within the first 12 hours. I dunno if the program is really that 75good or if this is just called "the freshmeat effect" like the well known 76"slashdot effect". Thanks to all who downloaded and like the program. :-) 77 78 79The why-does-lightning-not-flash-my-screen-bug: 80 81It's not my fault(tm). Either your ncurses is causing that problem or you 82are running Tornado inside an xterm or <insert your favourite terminal 83program here>. It does not work in my xterm either. The screen is just 84drawn to fast. Try it on a text console. 85 86 87Tornado Tournament: 88 89There is a world highscore system available on the tornado website. At the 90end of each game you are asked if you want to submit your highscore to the 91website. The score will then be submitted via a CGI script on the webserver 92using wget. This system is not really cheat-proof. Please don't abuse it. 93Your score/nickname will then be visible on the website together with the 94hostname/IP from where the score was submitted. 95 96 97The where-is-the-windspeed-bug: 98 99If you're running tornado in a terminal window under X make sure your window 100is at least 80x25 big. Standard size for most terminals is 80x24. So the 101bottom line is missing there. 102 103 104-Oliver 105