|
|
1.1 ! root 1: #!/bin/sh - ! 2: # ! 3: # Copyright (c) 1980 Regents of the University of California. ! 4: # All rights reserved. The Berkeley software License Agreement ! 5: # specifies the terms and conditions for redistribution. ! 6: # ! 7: # @(#)wargames.sh 5.1 (Berkeley) 6/23/85 ! 8: # ! 9: echo -n "Would you like to play a game? " ! 10: read x ! 11: ! 12: case $x in ! 13: ! 14: adventure) ! 15: exec /usr/games/$x ! 16: ;; ! 17: ! 18: backgammon) ! 19: exec /usr/games/$x ! 20: ;; ! 21: ! 22: boggle) ! 23: exec /usr/games/$x ! 24: ;; ! 25: ! 26: canfield) ! 27: exec /usr/games/$x ! 28: ;; ! 29: ! 30: chess) ! 31: exec /usr/games/$x ! 32: ;; ! 33: ! 34: cribbage) ! 35: exec /usr/games/$x ! 36: ;; ! 37: ! 38: fish) ! 39: exec /usr/games/$x ! 40: ;; ! 41: ! 42: fortune) ! 43: exec /usr/games/$x ! 44: ;; ! 45: ! 46: hangman) ! 47: exec /usr/games/$x ! 48: ;; ! 49: ! 50: mille) ! 51: exec /usr/games/$x ! 52: ;; ! 53: ! 54: monop) ! 55: exec /usr/games/$x ! 56: ;; ! 57: ! 58: rogue) ! 59: exec /usr/games/$x ! 60: ;; ! 61: ! 62: snake) ! 63: exec /usr/games/$x ! 64: ;; ! 65: ! 66: ! 67: trek) ! 68: exec /usr/games/$x ! 69: ;; ! 70: ! 71: wump) ! 72: exec /usr/games/$x ! 73: ;; ! 74: ! 75: zork) ! 76: exec /usr/games/$x ! 77: ;; ! 78: ! 79: *) ! 80: echo "Funny, the only way to win is not to play at all" ! 81: ;; ! 82: esac ! 83: exit 0
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.