Merge pull request #1456 from xexyl/williams2k1

This commit is contained in:
Landon Curt Noll authored and GitHub committed 2023-11-17 22:55:30 -07:00
commit 42652ef834
3 files changed
+13 -9

No files matched your search

+1 -1
View File
@@ -68,7 +68,7 @@ CINCLUDE= -I ${X11_INCDIR} -I ${X11_INCDIR}/X11
# Optimization
#
OPT= -O3
OPT= -ggdb3
# Default flags for ANSI C compilation
#
+11 -7
View File
@@ -4,6 +4,17 @@
make
```
### Bugs and (Mis)features:
The current status of this entry is:
```
STATUS: known bug - please help us fix
```
For more detailed information see [2001 williams in bugs.md](/bugs.md#2001-williams).
## To use:
@@ -12,13 +23,6 @@ make
```
### Try:
```sh
echo "Do or do not. There is no try."
```
## Judges' remarks:
[A strange game. The only winning move is not to
+1 -1
View File
@@ -52,7 +52,7 @@ A]; }Ne(l,30); Y==1){ E;K; } else c=l.t=0;} Y==1&&h<H -75&&!N(p*77)){ do{
dC(B++)); R Z|dL()){ Z&&!N(p)&&(Z--
,nL(1+!N(p),N(W<<9), 0,N(W<<9),H<<9,1
,0)); usleep(p*200); XCheckMaskEvent(d,
4,&e)&&A&&--S&&nL(4,a[N(A)]<<9,H-10<<9,e.
4,&e)&&A&&--S&&nL(4,a[N(7)]<<9,H-10<<9,e.
xbutton.x<<9,e.xbutton.y<<9,5,0);}S+=A*100;
B=sprintf(m,Q,v,S); XDrawString(d,w
,g,W/3,H/2,m,B); } }