i have found one bug. when i put glenda in a position like this
i somehow win, but the glenda can escape from there.
in addition, i have changed the games manpage to include more info about glendy.
add gibberish diagrams, equations and tables.
.TP
.B glendy
-Don't let the rabbit escape.
+Don't let the rabbit escape. Button 2 presents a menu that you
+can set the difficulty level from. Button 3 presents a menu
+that you can either play a new game, reset the game or exit.
.TP
.B juggle
Display the juggling
nextdir = (nrand(++count) == 0)?dir:nextdir;
}
}
- if(min < 100)
+ if(min <= 100)
domove(nextdir, p.x, p.y);
else
finished = Won;
Mouse m;
Event ev;
int e, mousedown=0;
- char *fontname;
USED(argv, argc);
initlevel(); /* must happen before "eresized" */
eresized(0);
- fontname = "/lib/font/bit/lucidasans/unicode.8.font";
- if((font = openfont(display, fontname)) == nil)
- sysfatal("font '%s' not found", fontname);
-
for(;;) {
e = event(&ev);
switch(e) {