This project implements advanced javascript concepts like ``factory functions``, ``modules``, ``IIFE``, ``JS OOP`` and BDD using ``Jasmine`` to build a simple Tic Tac Toe game played on the browser.
This project was completed for demonstration purposes in line with standards provided by Microverse.
Tic Tac Toe is a paper-and-pencil game for two players, using X and O marks.
Players 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.
- Javascript
- HTML/CSS
- Jasmine (Tests)
Clone the repository to your local machine
$ git clone https://github.com/johnsonsirv/tic-tac-toe-js.git
Click Run Tests to run automated tests online
Follow link setup http-server to setup
http-server
usingnpm
lauch the http-server
http-server -c-1
Launch SpecRunner.html
open http://127.0.0.1:8080/SpecRunner.html
Go to the directory
$ cd tic-tac-toe-js
Open index.html using your favourite browser Follow the instructions provided by the Game.
- Github: @johnsonsirv
- Twitter: @vokeugo
- Email: okeugo.victor.c@gmail.com
- Fork it (https://github.com/johnsonsirv/tic-tac-toe-js/fork)
- Create your feature (dev) branch (git checkout -b feature/[choose-a-name])
- Commit your changes (git commit -m 'What this commit will fix/add')
- Push to the branch (git push origin feature/[chosen name])
- Create a new Pull Request
You can also create issues
This project is licensed under the MIT License - see the LICENSE file for details