Update and fixes in 1996/jonth

I note that this entry does not work in macOS even with XQuartz. The
invocation recommended caused a crash but I came up with an invocation
that made it go further along - but still also crash. I wrote in bugs.md
details about it as well as giving a workaround in macOS (involves
another system with X11 forwarding - no not xhost). There is some C
pre-processed code in bugs.md in case this helps.

The URL of the author is dead and the Internet Wayback Machine was of no
help so it was removed from winners.csv and winners.html as well. It was
added as a missing link in bugs.md. It was not in the earlier entry from
1993 (they won twice) so I did not put it there.

Format fixes in README.md.
This commit is contained in:
Cody Boone Ferguson committed 2023-04-18 05:08:22 -07:00
1 parent 4cbf5a7bbe
commit c88811c1bf
4 files changed
+292 -21

No files matched your search

+31 -19
View File
@@ -1,45 +1,57 @@
# Best X11 Entry
Jon Thingvold
University of Oslo
Gaustadveien 10B
N 0372 Oslo
Norway
http://www.uio.no/~jonth/
Jon Thingvold
University of Oslo
Gaustadveien 10B
N 0372 Oslo
Norway
http://www.uio.no/~jonth/
## To build:
make all
```sh
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](https://www.xquartz.org) in order to compile and run this
entry. But see [bugs.md](/bugs.md) for a known problem with running this under
macOS and with a workaround of sorts plus more information on where it fails.
## To run:
./jonth
```sh
./jonth :0 :0
```
## Try:
./jonth host1:0 host2:0
```sh
./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.
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.
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,
solution: give two display arguments (prog host:0 host:0)
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 command.
If one (or both) windows look like a copy of the window(s) below, try
`xrefresh(1)` command.
Have a nice(1) day.
Have a `nice(1)` day.
## Copyright and CC BY-SA 4.0 License: