Two-player game of Tic–Tac–Toe where the player who aligns his symbol three times in any direction wins the match.
- Tic–Tac–Toe Game
- Technology Stack
- Requirement
- Installation
- Live Preview
- Bootstrap: Used CDN Bootstrap (min version 4.3.1) CSS for styling user interface, Bootstrap jQuery.
- jQuery: Used CDN jQuery(slim min version 3.3.1) for shortcuts.
- Loadash: Used JS library Loadash(version 4.17.11) to manage my Arrays.
- Visual Studio Code: Used Visual Studio Code for Mac as source-code editor.
- Clone the repository on your device.
- Open the cloned repository and right-click on the html file
index.html
located at the root to select the browser that'll display it. - View in selected browser
- This game is played by two players, player 1 as
X
and player 2 asO
. - Each player take a turn to randomly click on a square.
- The first player to align three symbols in any direction wins the match.
- If there is three symbols cannot be aligned, then the game is a draw between the players.
- The game can replayed by clicking on the replay button.