Skip to content

AyalaVirtual/Tic-Tac-Toe

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tic-Tac-Toe

A simple yet engaging Tic-Tac-Toe game developed using a mix of front-end technologies including HTML, CSS, Bootstrap, and vanilla JavaScript. This project showcases DOM manipulation techniques to deliver a sleek and responsive interface, ensuring a seamless and delightful gaming experience.

Introduction

Tic Tac Toe

Rules

  • Two players take turns clicking on a square to place 'X' and 'O' marks in empty spaces on a 3x3 game board.

  • Player1 starts first with the 'X' mark.

  • After each turn, players are shown a message displaying whose turn it is next, unless there is a winner or a tie.

  • Players cannot change the mark in a square that has already been selected or click the same square twice in one game.

  • The first player to place 3 consecutive 'X' or 'O' marks in a horizontal, vertical, or diagonal row wins the game.

  • If there is still no winner by the time all squares on the board have been filled, the game ends in a tie.

  • Players will not be able to continue playing after a player wins or tie has been declared.

  • Players can start a new tic tac toe game if they wish to play again.

  • Players can keep score throughout multiple rounds and view the number of tied games and wins for each player.

Author

🧑‍💻 Erica Ayala

About

A front end application built using vanilla JavaScript, HTML, CSS, and Bootstrap.

Resources

Stars

Watchers

Forks

Releases

No releases published