Skip to content

This is an interactive noughts and crosses game. 🎮️

License

MIT, OFL-1.1 licenses found

Licenses found

MIT
LICENSE
OFL-1.1
LICENSE_OFL
Notifications You must be signed in to change notification settings

tothlevente/noughts-and-crosses

Repository files navigation

Noughts and crosses 🎮

Noughts and crosses (tic-tac-toe) is a classic two-player game played on a 3x3 grid. Players take turns placing marks (X or O) on the board, and the player who first manages to get three identical marks in a row, column or diagonal wins. If the board is full and there is no winner, the game is a draw.

Available scripts:

In the project directory, you can run:

  • npm run start
  • npm run lint
  • npm run preview
  • npm run build

Game rules:

  • Players: The game is played by two players who take turns marking the game board. One player uses X, the other O.
  • The game board: The game board is a 3x3 grid consisting of nine squares.
  • The goal of the game: The goal of the game is to place three identical marks (X or O) in a row, column or diagonal.

How to play:

  1. Players take turns placing marks on an empty square.
  2. The first player usually uses X.
  3. Players continue taking turns until someone wins or the board is full.
  4. Winning: The player who first manages to get three identical marks in a row, column or diagonal wins.
  5. Draw: If the board is full and neither player has won, the game is a draw.

Used external sources:

License:

  • This project is licensed under MIT.
  • The used font is licensed under the SIL Open Font License, Version 1.1.

For more information please visit the license files.