项目作者: vladislavalerievich

项目描述 :
Vanilla JavaScript game
高级语言: JavaScript
项目地址: git://github.com/vladislavalerievich/tic-tac-toe.git
创建时间: 2017-01-25T19:49:44Z
项目社区:https://github.com/vladislavalerievich/tic-tac-toe

开源协议:

下载


Tic-Tac-Toe or “Noughts and Crosses” in Javascript

View demo here at codepen.

My game has 3 levels difficulty plus for two players.

Tic-tac-toe is a paper-and-pencil game for two players, X and O, who take turns marking the spaces in a 3×3 grid. The player who succeeds in placing three of their marks in a horizontal, vertical, or diagonal row wins the game. Players soon discover that best play from both parties leads to a draw. Hence, Tic-tac-toe is most often played by young children.