some optimizations
This commit is contained in:
@@ -15,4 +15,4 @@ instance Player Stupid where
|
||||
trumpCol <- trumpColour
|
||||
turnCol <- turnColour
|
||||
let possible = filter (isAllowed trumpCol turnCol hand) hand
|
||||
return (head possible, p)
|
||||
return (toCard $ head possible, p)
|
||||
|
||||
Reference in New Issue
Block a user