This is a desktop built of the project over here: https://github.com/FrankenApps/TicTacToe.
I do not recommend this yet, because it currently has a little bug, meanwhile you can try the web version, which you can find here:http://frankenapps.github.io/TicTacToe/
You will need node.js and electron installed on your machine.
- Install electron if you haven't already:
$ npm install -g electron-prebuilt
- Clone the Repo:
$ git clone https://github.com/FrankenApps/ElectronTicTacToe
- Open the App:
$ electron ElectronTicTacToe
The code is in a very bad condition, at the time when I wrote it I did not know about any standards or how you would express a logic in code correctly, so don't bother reading through it. And have some fun playing the game...
There are 3 options:
-
Two humans play against each other. That's simple: Select your color, name and who wants to start, and then click the fields alternately, until you get the message that one of you has won, or that there is a draw.
-
Human against Computer. Tick one of the checkboxes for Computer and then select if you, or the Computer should start. Of course you may change the colors and names, too.
-
Computer vs Computer. Tick both of the checkboxes and change all the other settings if you wish to, and then hit the start game button, in order to see which computer wins. Of course the Computer who starts all the time will have a higher quota than the other one.