BSD 4_2 development
[unix-history] / usr / games / wargames
CommitLineData
109b6676
C
1#! /bin/sh
2echo -n "Would you like to play a game? "
3read x
4
5case $x in
6
7adventure)
8 exec /usr/games/$x
9 ;;
10
11backgammon)
12 exec /usr/games/$x
13 ;;
14
15boggle)
16 exec /usr/games/$x
17 ;;
18
19canfield)
20 exec /usr/games/$x
21 ;;
22
23chess)
24 exec /usr/games/$x
25 ;;
26
27cribbage)
28 exec /usr/games/$x
29 ;;
30
31fish)
32 exec /usr/games/$x
33 ;;
34
35fortune)
36 exec /usr/games/$x
37 ;;
38
39hangman)
40 exec /usr/games/$x
41 ;;
42
43mille)
44 exec /usr/games/$x
45 ;;
46
47monop)
48 exec /usr/games/$x
49 ;;
50
51rogue)
52 exec /usr/games/$x
53 ;;
54
55snake)
56 exec /usr/games/$x
57 ;;
58
59
60trek)
61 exec /usr/games/$x
62 ;;
63
64wump)
65 exec /usr/games/$x
66 ;;
67
68zork)
69 exec /usr/games/$x
70 ;;
71
72*)
73 echo "Funny, the only way to win is not to play at all"
74 ;;
75esac
76exit 0