Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

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.

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