Skip to content

kagunecode/tictactoe

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tictactoe

This is a Tictactoe game for The Odin Project made using JS. You can find the console version on the Scripts under the name tictactoe.js. In order to run it you will need to create a Game() object. You can then use playRound() passing the position argument for the player. The turns are switched automatically, so there's no need to pass any other argument. For the position you want to play it should be a position from 0 to 8 following this position chart:

tictactoe chart

Since the main approach of this project is to build the game using a web UI the programming of the console edition was not the priority, so there could be bugs.

LIVE PREVIEW

Check out the live preview. As of this version everything is working, however, there's no form validation for the names and I will implement a bot to play against. I'll keep this repo updated on the progress.

About

Tictactoe project for The Odin Project

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors