Skip to content

Shinobi881/tic-tac-toe

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

65 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tic-tac-toe

Just a simple tic-tac-toe-game

###Technologies

  • ES2015
  • React
  • Redux
  • Webpack
  • Node
  • Babel (stage-3, for ES6 spread operator)

##Requirements

Add JavaScript so an actual tic­tac­toe game can be played starting with a blank board. Each click on the board should alternate between X and O until someone wins or the game ends in a tie. Feel free to use jQuery or any JavaScript framework you like. Code quality is important. Please ensure that your code is DRY (Don’t Repeat Yourself), readable, formatted consistently, etc. Feel free to use online resources, but do not copy code. The code should work on the latest versions of Chrome, Firefox & Safari. Add JavaScript so an actual tic­tac­toe game can be played starting with a blank board.

Basic:

  • Each click on the board should alternate between X and O until someone wins or the game ends in a tie.
  • Please ensure that your code is DRY (Don’t Repeat Yourself), readable, formatted consistently, etc.
  • The code should work on the latest versions of Chrome, Firefox & Safari.
  • Add JavaScript(ES2015) so an actual tic­tac­toe game can be played starting with a blank board.
  • The code should work on the latest versions of Chrome, Firefox & Safari.

Bonus:

  • Use CSS to add more detail, animations or responsive design to the wireframe above
  • Allow for more than one independent tic­tac­toe board to be on the same page
  • Add the ability to restart a game after it has ended
  • Use module loaders like webpack or browserify for dependency management
  • Support any NxN tic­tac­toe board
  • Write error handling and/or tests

##Installation

Before running you should have Webpack and Babel installed globally:

$ npm i -g webpack webpack-dev-server

After completing the installation above. From your CLi:

  1. $ npm i
  2. $ npm start
  3. Open a web browser to localhost:3000

About

Tic-tac-toe game

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages