add preconfigured matches and extend online ai
This commit is contained in:
+2
-1
@@ -35,7 +35,8 @@ runAI = do
|
||||
if length trs >= 5 && any ((==32) . getID) cs
|
||||
then do
|
||||
pts <- fst <$> evalStateT (turn Hand1) env
|
||||
if pts > 60 then return 1 else return 0
|
||||
-- if pts > 60 then return 1 else return 0
|
||||
return pts
|
||||
else runAI
|
||||
|
||||
env :: SkatEnv
|
||||
|
||||
Reference in New Issue
Block a user