projects
/
unix-history
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
tags
|
clone url
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blame
|
history
|
raw
|
HEAD
BSD 4_2 development
[unix-history]
/
usr
/
games
/
wargames
#! /bin/sh
echo -n
"Would you like to play a game? "
read
x
case
$x
in
adventure
)
exec
/
usr
/
games
/
$x
;;
backgammon
)
exec
/
usr
/
games
/
$x
;;
boggle
)
exec
/
usr
/
games
/
$x
;;
canfield
)
exec
/
usr
/
games
/
$x
;;
chess
)
exec
/
usr
/
games
/
$x
;;
cribbage
)
exec
/
usr
/
games
/
$x
;;
fish
)
exec
/
usr
/
games
/
$x
;;
fortune
)
exec
/
usr
/
games
/
$x
;;
hangman
)
exec
/
usr
/
games
/
$x
;;
mille
)
exec
/
usr
/
games
/
$x
;;
monop
)
exec
/
usr
/
games
/
$x
;;
rogue
)
exec
/
usr
/
games
/
$x
;;
snake
)
exec
/
usr
/
games
/
$x
;;
trek
)
exec
/
usr
/
games
/
$x
;;
wump
)
exec
/
usr
/
games
/
$x
;;
zork
)
exec
/
usr
/
games
/
$x
;;
*)
echo
"Funny, the only way to win is not to play at all"
;;
esac
exit
0