Rock, Paper, Scissors, Gun, Dynamite, Nuke, Lightning, Devil, Dragon, Alien, Water, Bowl, Air, Moon, Sponge, Wolf, Cockroach, Tree, Man, Woman, Monkey, Snake, Axe, Fire, Sun

This little program implements Rock, Paper, Scissor style games.

Graphs are defined for:

Example:

CL-USER> (RPSLS:main RPSLS::*rock-paper-scissors-gun-dynamite-nuke-lightning-devil-dragon-alien-water-bowl-air-moon-sponge-wolf-cockroach-tree-man-woman-monkey-snake-axe-fire-sun*)
Please choose an item amongst: 
  quit air alien axe bowl cockroach devil dragon dynamite fire gun lightning man monkey moon nuke paper rock scissors snake sponge sun tree water wolf woman
> air
You chose AIR.
Computer chose MAN.
Man breathes air.
Therefore you lose.

Please choose an item amongst: 
  quit air alien axe bowl cockroach devil dragon dynamite fire gun lightning man monkey moon nuke paper rock scissors snake sponge sun tree water wolf woman
> man
You chose MAN.
Computer chose MOON.
Man travels to moon.
Therefore you win.

Please choose an item amongst: 
  quit air alien axe bowl cockroach devil dragon dynamite fire gun lightning man monkey moon nuke paper rock scissors snake sponge sun tree water wolf woman
> moon
You chose MOON.
Computer chose WATER.
Moon has no water.
Therefore you win.

Please choose an item amongst: 
  quit air alien axe bowl cockroach devil dragon dynamite fire gun lightning man monkey moon nuke paper rock scissors snake sponge sun tree water wolf woman
> water
You chose WATER.
Computer chose WOLF.
Wolf drinks water.
Therefore you lose.

Please choose an item amongst: 
  quit air alien axe bowl cockroach devil dragon dynamite fire gun lightning man monkey moon nuke paper rock scissors snake sponge sun tree water wolf woman
> wolf
You chose WOLF.
Computer chose FIRE.
Fire burns wolf.
Therefore you lose.

Please choose an item amongst: 
  quit air alien axe bowl cockroach devil dragon dynamite fire gun lightning man monkey moon nuke paper rock scissors snake sponge sun tree water wolf woman
> quit
You      won 2 of 6 games.
Computer won 3 of 6 games.
2
3
1
6
CL-USER> 
  

| Mirror on informatimago.com | Mirror on free.fr |
Valid HTML 4.01!