865 B
865 B
odin-tic-tac-toe
Tic Tac Toe
using IIFE's to prevent unwanted user-forced changes, using addEventListeners
utilizing pubsub, and splitting functions into parts used by others for code readability :)
todo:
- "setup screen" on startup
- display points, turn, etc - info in GUI
- reset points / everything btn
- FIX BUG - when the win occurs at the end (no other fields are available), a draw occurs, then the win for a player that won appears 2 times
- clean code, although most of it is fine and intact, parts from later commits (from creating the form setup screen) are quite a little messy
nice to haves ("todo" that will probably never be done)
- localstorage or other similar implementation to save progress and players
- edit player settings - name, marker