Skip to content

AleksKuzmin/Project0

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

45 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TicTacToe Combat

Rules

X always goes first. If a player is able to draw three X or three O in a row, that player wins. If all nine squares are filled and neither player has three in a row, the game is a draw.

Used technologies

Html, CSS, javascript, jQuery

How it works

When you press on a cell, javascript turns the ID of the cell into a row an a stroke which are saved into the array. Array is basically a matrix. All calculation is based on matrix.

CSS

Crossing line appears on screen when there are 3 Id's in row, stroke or diagonal line.

Audio section

I used different Audio() functions to use different sounds for wins, draw and restart button.

LINK

Here is the TicTacToe Combat

What features I would like to add ... (these will be added soon)

  1. Popping windows on a win etc...
  2. Animation, when moving cursor
  3. More sound effects
  4. Firebase option
  5. AI player
  6. Scores and history of players
  7. Naming players
  8. and more...

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published