Quantum Tic Tac Toe
This implementation is written in ClojureScript and ReactJS, and has three front-ends written using different UI libraries:
And, additionally in this fork, a port to React Native, based on the Om binding. (See the section at the bottom.)
Running the Program
Note: QTTT depends on a library,
com.cognitect/contextual that may not yet
be in public repositories. If not, you can install the dependency locally by cloning
https://github.com/levand/contextual.git and running
lein install in that repository.
First, compile the ClojureScript:
Then, visit the HTML page at
You will need to select which UI library to view by passing a
URL parameter. For example:
Play proceeds in turns. There is no win condition detection, yet, but all the other rules of the game are in place.
Ideas for future expansion include:
- Win condition detection
- Network multiplayer
React Native Port
- From the top level run
lein cljsbuild once ios.
- Run on a simulator (iPhone 6 works great)
If you'd like to connect to the iOS app using a REPL, run
Watch a quick demo of it running on iOS: