Gerlison / rjs_tictactoe

ReactJs Tic Tac Toe game.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Tic Tac Toe

GitHub

This project is a study about ReactJs.

A simple Tic Tac Toe game, for local playing. It works by rounds, where each player, X and O, plays one after the other.

You can also Reset the game score, and go ahead to next round.

Table of Contents

Installation

Cloning the repository

Clearly you'll need git installed on your machine. Navigate to a directory of your choice and clone the repository.

  git clone https://...

Installing dependencies

After cloned, navigate inside the project. Change "project_folder" to the folder just created by the clone command

  cd project_folder/

You'll need to install the project's dependencies now. To do that just:

  npm install

or if you prefer yarn instead npm

  yarn

In case you haven't any of them installed, here some the links for install npm or yarn.

Running

  # for development
  yarn run start

  # for production
  yarn run build

Screenshots

screen shot 2017-08-07 at 12 18 15 pm screen shot 2017-08-07 at 12 18 15 pm

Contributing

Create a fork

To contribute to a open source project, you can do a fork from the source code, do your own changes on a copy without compromising the original.

If you don't know how to do that, follow this guide.

Git Flow

GitFlow is a branching model for Git, created by Vincent Driessen. It has attracted a lot of attention because it is very well suited to collaboration and scaling the development team.

So, in my projects I always try to use that. It's very useful and helps to control what is happing to the code base.

Read a little bit more about this.

Open a Pull Request

With all your changes done, and you are ready to contribute, open a pull request to the upstream develop branch. Your PR will be analysed, discuted and aproved gratefuly.

About pull requests

About

ReactJs Tic Tac Toe game.

License:MIT License


Languages

Language:JavaScript 82.4%Language:HTML 15.7%Language:CSS 1.9%