forked from coxmediagroup/Tic-Tac-Toe
tmst/Tic-Tac-Toe
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Program features: GUI written entirely in Python and compiled into JavaScript using Pyjamas. Accepts arbitrarily-large game board size as a parameter to the TicTacToe() constructor. Contains no hard-coded row or column numbers. Performs a simple matrix transformation (90-degree rotation) to get the list of winning row possibilities when searching for winning or blocking moves. Allows the human player to go first. Never loses. Implementation of game-ending sequence, such as flashing lights and sirens left for the student. INSTRUCTIONS: Copy output/ to a local directory. Load output/tictactoe.html into a recent version of Firefox. Click on a table cell. The program will then select its move, etc. Keep playing until the program gets 3 in a row or runs out of moves. Reload the page for a new game.
About
coding challenge: Create an app that can interactively play the game and never lose.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published
Languages
- Python 100.0%