Skip to content

AdanMoses/tictactoe

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tictactoe


Simple tic tac toe game

No installation necessary, just run from the browser.

Built With

  • HTML
  • CSS
  • Plain (or Vanilla) JavaScript

Instructions

Just the usual tic tac toe game, if you've never played here's the rules:

  1. This is a two player game, solo mode to be added in the future.
  2. The game consists of a grid of 3 by 3 squares.
  3. Each player will be assigned either an X or an O, you can check who's turn is it just above the board.
  4. The goal of the game is for one player to place three of their marks in a diagonal, horizontal, or vertical row.
  5. At the end of each round the winning player will will get one point, the scoreboard is located underneath the board.
  6. If you would like to replay, or have made a mistake, you can use the Reset button to start the round over again.

Additions and TODO

Ideally:

  • I would like to be able to scale the game (choose a 4x4+ grid)
  • Add sound effects
  • Use timers to display a "waiting for player" message
  • Improve the styling (sorry I'm not a designer!)

About

Simple tic tac toe game

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published