Files
ioccc/1996/jonth/README.md
T
Landon Curt Noll 6625034139 replace trailing whitespace with blackslash in README.md
As an alternative to the markdown trailing whitespace as a line
break, we use a trailing blackslash as a markdown line break.
2023-10-18 15:49:51 -07:00

1.3 KiB

Best X11 Entry

Jon Thingvold
University of Oslo
Gaustadveien 10B
N 0372 Oslo
Norway
http://www.uio.no/~jonth/

To build:

make all

NOTE: this entry requires X11/Xlib.h header file and the X11 library to compile. macOS users running Mountain Lion and later will need to download and install XQuartz in order to compile and run this entry.

To run:

./jonth :0 :0

Try:

./jonth host1:0 host2:0

Judges' remarks:

For extra credit, figure out how you can cheat by taking over a square already occupied by an opponent.

Author's remarks:

This is multi-user tic-tac-toe for X Windows. You may give one or two X displays as arguments to this game.

Known bugs:

Sometimes on Solaris X gets confused and this program core dumps. The solution: give two display arguments (./jonth host:0 host:0).

If one (or both) windows look like a copy of the window(s) below, try xrefresh(1) command.

Have a nice(1) day.

This file is Copyright (c) 2023 by Landon Curt Noll. All Rights Reserved. You are free to share and adapt this file under the terms of this license:

Creative Commons Attribution-ShareAlike 4.0 International (CC BY-SA 4.0)

For more information, see: https://creativecommons.org/licenses/by-sa/4.0/