A Tic-Tac-Toe game that is built with vanilla JavaScript
, HTML
and CSS
. The objective of this project was to learn how to organize a JavaScript
code using Factory and Module patterns.
- Responsive UI, with fluid text, that can be viewed in different display sizes.
- Single-player mode in which the user can play against a computer.
- Two-player mode in which you can play against another human.
- Keep track of the scores.
View a Live Demo of the project.
- Frontend:
HTML
,CSS
,JavaScript
. - Build Tool:
Node.js
,Webpack
.
Clone and navigate to the project directory.
$ git clone https://github.com/kaddy120/Tic-Tac-Toe.git
$ cd Tic-Tac-Toe
Install the project dependencies:
$ npm install
Run the development server:
$ npm run dev
Build the project for deployment
$ npm run build
The production-ready files are located in the dist/
directory.