Skip to content

finiteprods/dice-game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dice of Doom

Based on the game in Conrad Barski's book Land of Lisp

$ cabal run
...
choose an option:
1. play against human opponent(s)
2. play against computer opponent(s)
2

current player = a
      b-3 b-3 b-1 b-2
    a-3 b-2 a-3 a-1
  a-1 a-1 b-2 b-1
a-2 a-2 a-1 b-3

choose your move:
1. (1,0) -> (1,1)
2. (1,2) -> (0,2)
3. (1,2) -> (1,1)
4. (1,2) -> (2,2)
5. (1,2) -> (2,3)

...

About

Dice of Doom game

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors