battleships

Root root at topaz.ARPA
Fri Jun 21 16:37:24 AEST 1985


	As distributed, the source of battleships game seems to use a
non-standard version of curses. If you make the following changes, you
can get it to work.

<1> Change the call to "cbreak()", to a call to "crmode()".

<2> Change all calls of the form "wattron(mywin,A_REVERSE)" to
"wstandout(mywin)" and "wattroff(mywin,A_REVERSE)" to "wstandend(mywin)".

<3> Comment out the calls to "flash()". I dont know what this routine
does.

<4> Having done all this, compile the stuff using the shell command:

	cc -o ships ships.c -lcurses -ltermcap

	Have fun.....

						--Vijay--



More information about the Comp.sources.unix mailing list