Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dipto0321/tic-tac-toe
A simple web based tic-tac-toe game with easy and hard mode.
https://github.com/dipto0321/tic-tac-toe
computer-player javascrip-oop object-oriented-programming vanilla-javascript
Last synced: 28 days ago
JSON representation
A simple web based tic-tac-toe game with easy and hard mode.
- Host: GitHub
- URL: https://github.com/dipto0321/tic-tac-toe
- Owner: dipto0321
- Created: 2019-02-12T02:20:54.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2023-01-07T04:15:49.000Z (almost 2 years ago)
- Last Synced: 2024-10-08T02:07:01.136Z (about 1 month ago)
- Topics: computer-player, javascrip-oop, object-oriented-programming, vanilla-javascript
- Language: JavaScript
- Homepage:
- Size: 1.64 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 20
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# tic-tac-toe
[![standard-readme compliant](https://img.shields.io/badge/standard--readme-OK-green.svg?style=flat-square)](https://github.com/RichardLitt/standard-readme)
> One of the popular game. [Play here](https://rytos-tic-tac-toe.netlify.com/)
## Table of Contents
- [tic-tac-toe](#tic-tac-toe)
- [Table of Contents](#table-of-contents)
- [Background](#background)
- [Install](#install)
- [Usage](#usage)
- [Maintainers](#maintainers)
- [Contributing](#contributing)
- [License](#license)## Background
We used pure vanilla javascript and object-oriented methodologies. There are two modes one is easy and the other is hard.
- Easy: In this mode computer play through random input. User can easily defeat the computer.
- Hard: In this mode computer use Minmax algorithm to make his turn in the board. So it's an unbeatable approach. User can draw but can't defeat the computer.## Install
```
npm run prod
```## Usage
```
npm start
```
Then goto `http://localhost:8080/`## Maintainers
[Ryan](https://github.com/rvvergara) and [Dipto](https://github.com/dipto0321)
## Contributing
[Ryan](https://github.com/rvvergara) and [Dipto](https://github.com/dipto0321)
## License
ryto © 2019 Ryto Verkar