Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
(def game (reaction (:game @app-state)))
(def current-turn (reaction (game/current-turn @game)))
(def ai-player? (reaction (player/is-ai? (:player @current-turn))))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment