Skip to content

Latest commit

 

History

History
25 lines (16 loc) · 855 Bytes

TicTacToe.md

File metadata and controls

25 lines (16 loc) · 855 Bytes

Tic Tac Toe

Alt text

About this Kata

This short and simple Kata should be performed using Test Driven Development (TDD).

Rules

The rules are described below :

  • X always goes first.
  • Players cannot play on a played position.
  • Players alternate placing X’s and O’s on the board until either:
    • One player has three in a row, horizontally, vertically or diagonally
    • All nine squares are filled.
  • If a player is able to draw three X’s or three O’s 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.

Useful link

The complete description can be found here : https://github.com/WeSquad/tic-tac-toe-react

IMPORTANT: Implement the requirements focusing on writing the best code you can produce.