This is an implementation of the TicTacToe game using JavaScript.
- User Features
- Built with
- Concepts Employed
- Live Preview
- Required Installations
- Installation of This App
- Future Features
- License
- Authors
- Acknowledgements
- There is a game-board which contains 9 boxes,each player would click on a box of choice in order to append his playing tool(either X or Y).
- The first player automatically gets the 'X' tool and the 2nd player the 'O' tool.
- A player wins when his tool is aligned vertically, horizontally or diagonally.
- A player can start a game afresh after a previous game in which case he and his partner have to re-input their names or restart his previous game in which case,the previous names are on auto-save and will continually be used.
- When a player wins,the board is still on display but the buttons are disabled and no further move can be made.
- Webpack
- VsCode
- Windows
- Love and passion for code ❤️
- Factory functions
- JavaScript modules
- Webpack auto watch
- Jest auto watch
Find the live version here. Below is a screenshot of the game on a mobile screen and a laptop screen.
- Npm
- Webpack
Clone the Repository
your@pc:~$ git clone git@github.com:Tripple-A/JavaScript---TicTacToe.git
Move to the downloaded folder
your@pc:~$ cd JavaScript---TicTacToe
Install all packages
your@pc:~$ npm install
Start the server
your@pc:~$ npm start
Play the game with a friend.
Run all tests
your@pc:~$ npm test
Run specific tests
your@pc:~$ npm test src/index.spec.js
- Make it playable with the computer.
- Teach the computer to be unbeatable using an algorithm to determine the next line of play.
Distributed under the MIT License. See LICENSE
for more information.
- 🇳🇬 Abiodun Ajibade - biodun9@gmail.com | Github Account | Twitter | Linkedin | Portfolio
- UG Aheebwa Ramahdan - Github Account
- Microverse and Odin Project .