>
> What I want to have is that the game displays the player's move THEN call 
> minimax function on current model and THEN display the AI's move


If I understand correctly, you want to wait some amount of time before 
displaying the AI move, which you can do with Process.sleep

http://package.elm-lang.org/packages/elm-lang/core/4.0.5/Process#sleep

In that case, you would keep everything just the way you had it and instead 
of manually setting up a Cmd with Task.succeed, use Process.sleep to wait 
for however long looks good in your UI

-- 
You received this message because you are subscribed to the Google Groups "Elm 
Discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to