Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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