Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/teekaytech/tic-tac-toe-js

A popular TicTacToe game where players can continue playing after each round and the winner of each round is being stored until the game is reloaded. Built with JavaScript.
https://github.com/teekaytech/tic-tac-toe-js

babel javascript jest unit-testing

Last synced: 23 days ago
JSON representation

A popular TicTacToe game where players can continue playing after each round and the winner of each round is being stored until the game is reloaded. Built with JavaScript.

Awesome Lists containing this project

README

        

# Tic Tac Toe (JavaScript)

> A tic tac toe game built with Vanilla JavaScript. This is a game played by two players (with each player represented by the first character of their names respectively on the game board.) A winner is determined when one of the users has successfully placed his/her mark on a straight line (either diagonal, vertical or horizontal).

![screenshot](assets/screenshot.png)

## Built With

- JavaScript
- ESLint / Stlylelint
- Babel
- NPM
- Jest (Unit Testing)

## Live Demo

Tic Tac Toe

## Getting Started

To get a local copy up and running follow these simple example steps.

- On the project GitHub page, navigate to the main page of the repository [this page](https://github.com/teekaytech/Tic-Tac-Toe-JS.git).
- Under the repository name, locate and click on a green button named `Code`.
- Copy the project URL as displayed.
- If you're running Windows Operating System, open your command prompt. On Linux, Open your terminal.
- Change the current working directory to the location where you want the cloned directory to be made. Leave as it is if the current location is where you want the project to be.
- Type `git clone`, and then paste the URL you copied in Step 3.

`$ git clone https://github.com/teekaytech/Tic-Tac-Toe-JS.git`
- Press Enter. Your local copy will be created.

Please Note that you must have github installed on your PC, this can be done [here](https://gist.github.com/derhuerst/1b15ff4652a867391f03).

### Prerequisites

Web browser (Chrome/Firefox)

### Usage

Start the app by copying and pasting the absolute path of the index file to your browser, then click on enter.

### Running the Test Suites

The dependencies required to run the test suites are Babel and Jest, which both depends on Node package manager (NPM)

- Open the project root directory in your terminal.
- Run `npm install` to install the dependencies.
- run `npm test` to run the test suites.

## Author

👤 **Taofeek Olalere**

- Github: [@teekaytech](https://github.com/teekaytech)
- Twitter: [@ola_lere](https://twitter.com/ola_lere)
- Linkedin: [olaleretaofeek](https://linkedin.com/in/olaleretaofeek)

## 🤝 Contributing

Contributions, issues and feature requests are welcome!

Feel free to check the [issues page](issues/).

## Show your support

Give a ⭐️ if you like this project!

## Acknowledgments

- [Microverse](https://.microverse.org/)
- [The Odin Project](https://www.theodinproject.com/courses/javascript/lessons/tic-tac-toe-javascript)

## 📝 License

This project is [MIT](lic.url) licensed.