Skat Engine und AI auf Haskell Basis
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

17 lines
301B

  1. module Main where
  2. import Control.Monad.State
  3. import Card
  4. import Skat
  5. import Reizen
  6. import Operations
  7. main :: IO ()
  8. main = do
  9. env <- reizen
  10. (sgl, tm) <- evalStateT runGame env
  11. putStrLn $ "Single player has " ++ show sgl ++ " points."
  12. putStrLn $ "Team has " ++ show tm ++ " points."