Safe Haskell | None |
---|---|
Language | Haskell2010 |
RPS
Documentation
convertToMove :: Integer -> Move Source #
convertMove :: Char -> Move Source #
prop_WinLose :: Move -> Bool Source #
beatStrategy :: Strategy -> Strategy Source #
type Tournament = ([Move], [Move]) Source #
result :: Tournament -> Integer Source #
step :: Strategy -> Strategy -> Tournament -> Tournament Source #
playInteractive :: Strategy -> Tournament -> IO () Source #
showResults :: Tournament -> IO () Source #
randomPlay :: IO () Source #