diff options
author | tb <tb@cvs.openbsd.org> | 2015-11-27 09:37:57 +0000 |
---|---|---|
committer | tb <tb@cvs.openbsd.org> | 2015-11-27 09:37:57 +0000 |
commit | cc402619b55ab2f3dfb66679c1461cb19e4d8763 (patch) | |
tree | c7c2899682b901c3349d7d799b027429b79f84b7 /games/snake/snake.6 | |
parent | 6a3f28b2e2931ce008af6d219d817e3d5c4611d1 (diff) |
Fix after removal of the setgid bit:
Add pledge "stdio rpath wpath cpath tty".
Move score file to $HOME, add $USER as high score entry.
Maintain hall of fame of 10 high scores, make snake wink if
it ate you while you were eligible for eternal fame.
Based on an initial diff by Ricardo Mestre and with helpful input from tedu@.
ok beck@
Diffstat (limited to 'games/snake/snake.6')
-rw-r--r-- | games/snake/snake.6 | 17 |
1 files changed, 11 insertions, 6 deletions
diff --git a/games/snake/snake.6 b/games/snake/snake.6 index 8c4a0d4e693..e2ac9d965ab 100644 --- a/games/snake/snake.6 +++ b/games/snake/snake.6 @@ -1,4 +1,4 @@ -.\" $OpenBSD: snake.6,v 1.11 2009/11/13 21:50:12 deraadt Exp $ +.\" $OpenBSD: snake.6,v 1.12 2015/11/27 09:37:56 tb Exp $ .\" $NetBSD: snake.6,v 1.5 1995/04/22 08:34:35 cgd Exp $ .\" .\" Copyright (c) 1980, 1993 @@ -30,7 +30,7 @@ .\" .\" @(#)snake.6 8.1 (Berkeley) 5/31/93 .\" -.Dd $Mdocdate: November 13 2009 $ +.Dd $Mdocdate: November 27 2015 $ .Dt SNAKE 6 .Os .Sh NAME @@ -114,13 +114,18 @@ which appears after the game is worth a bonus. To see who wastes time playing snake, run .Nm snake .Fl s . +.Sh ENVIRONMENT +.Bl -tag -width Ds +.It Ev USER +Name displayed in high score file. +.El .Sh FILES -.Bl -tag -width /var/games/snakerawscores -compact -.It Pa /var/games/snakerawscores +.Bl -tag -width $HOME/.snake.scores -compact +.It Pa $HOME/.snake.scores database of personal bests -.\".It Pa /var/games/snake.log -.\"log of games played .El +.\".It Pa $HOME/.snake.log +.\"log of games played .Sh BUGS When playing on a small screen, it's hard to tell when you hit the edge of the screen. |