view lisp/gnus/save-aif.xpm @ 43464:dc17128932c4

(snake-velocity-queue, snake-update-velocity) (snake-final-x-velocity, snake-final-y-velocity): New variable and functions. Store user's keypresses into a queue and pop from the queue each subsequent turn. (snake-update-game, snake-move-left) (snake-move-right, snake-move-up, snake-move-down, snake-active-p) (snake-start-game): Use that queue. (snake-use-glyphs-flag): Renamed from snake-use-glyphs. (snake-use-color-flag): Likewise. (snake-mode): Rename uses of those variables.
author Richard M. Stallman <rms@gnu.org>
date Fri, 22 Feb 2002 15:19:06 +0000
parents 354a5b33d058
children 55fd4f77387a
line wrap: on
line source

/* XPM */
static char *magick[] = {
/* columns rows colors chars-per-pixel */
"24 24 25 1",
"  c Gray6",
". c #133313331333",
"X c #199919991999",
"o c Gray15",
"O c #2fef2fef2fef",
"+ c Gray20",
"@ c #398739873987",
"# c #3fff3fff3fff",
"$ c Gray28",
"% c #4ccc4ccc4ccc",
"& c #5fdf5fdf5fdf",
"* c #626262626262",
"= c Gray40",
"- c #72f272f272f2",
"; c Gray45",
": c #77d777d777d7",
"> c #7bdb7bdb7bdb",
", c #7ccc7ccc7ccc",
"< c Gray56",
"1 c Gray60",
"2 c #9fff9fff9fff",
"3 c #a7c7a7c7a7c7",
"4 c Gray75",
"5 c Gray90",
"6 c Gray100",
/* pixels */
"444444444444444444444444",
"444444444444444444444444",
"4444444:OOOOOOOOOOO:4444",
"4444444&4666666666#2>444",
"4444444&4666666666#62:44",
"4444444&4666666666 ##O44",
"4444444&4666666666666O44",
"4444444&4666666666666O44",
"4444444&4666666666666O44",
"43<<<<<$<444444666666O44",
"4&@@@-------.%.666666O44",
"4&---5555555o1o666666O44",
"4&---5555555o1o666666O44",
"4&---5555555o1o666666O44",
"4&---5555555o1o666666O44",
"4&---5555555o1o666666O44",
"4&--@-------o1o666666O44",
"4&-<--------,1o666666O44",
"4&-<--------,1o444444O44",
"4&--X++++o@-o1o&&&&&&:44",
"4&--+====%-5o1o444444444",
"4:*-+====%-5o1o444444444",
"44:@X++++o@-.%.444444444",
"444<<<<<<<<<<<<444444444"
};