Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/quintrino/naughts
Color based Tic Tac Toe
https://github.com/quintrino/naughts
Last synced: 5 days ago
JSON representation
Color based Tic Tac Toe
- Host: GitHub
- URL: https://github.com/quintrino/naughts
- Owner: quintrino
- Created: 2016-03-29T22:23:09.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2016-04-01T03:25:08.000Z (almost 9 years ago)
- Last Synced: 2025-01-07T17:31:50.813Z (9 days ago)
- Language: JavaScript
- Homepage:
- Size: 131 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.MD
Awesome Lists containing this project
README
###Naughts and Cross
#How to play
At the beginning of the game you can choose to either play as the default colors(Black and white) or you can select your own colors and click change colors to update your colors
#Code used
This website has been built entirely using just Javascript, HTML and CSS.
To determine if the colors entered are actual colors an invisible div has it's color set to the entered color and then checked to see if it's color actually changes or remains as empty. If it successfully changes then the color entered is determined to be an actual color that can be used
#Potential additions
* [ ] change color selection from input to list
* [ ] add AI
* [ ] allow different board sizes
* [ ] allow 3+ players
* [ ] code to check for winner on larger board