A website where you can play tic-tac-toe against the computer and never, ever, win.
Navigate to the GitHub Page for this repository (under the Environment tab). You
should be taken to a page that looks like this:
Press the white on green button that says "Start".
In order to fully enjoy this, you should use one of the browserl.ist default supported browsers .
Out of those supported browsers, I reccomend using the latest version of Chrome or Firefox, which can be downloaded by pressing the "Download Chrome" button on Chrome's website or the "Download now" button on Firefox's website.
Wait for the computer to play it's turn. After it does, you will be able to click on a square that says "empty" to fill it out with an O. Wait for the computer to fill out its chosen square before chosing your final square.
Due to a nasty bug that couldn't be solved before the April 1st deadline for turning this in, this game has to go unfinished for a while.
- Move the function that controls which move the computer plays to a new module
- Create a 50% possibility for the human to go first
- Make this project my first test driven development project
- Strange twists to classical tic-tac-toe
Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us.
This project is licensed under the MIT License - see the [LICENSE.txt] (LICENSE.txt) file for details.
- Thank you to Sebastian Kaczmarek for his Stack Overflow answer that helped me find a bug in my code. If you're somehow seeing this, I really appreciate what you did.