Skip to content

Instantly share code, notes, and snippets.

@deque-blog
Last active March 18, 2017 17:58
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save deque-blog/e507f175a3d9563d925a6595fd7017bf to your computer and use it in GitHub Desktop.
(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