Giter Site home page Giter Site logo

mmazepa / tictactoe_react.js Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 1.05 MB

Simple web application made with React.js - Tic Tac Toe game.

HTML 8.70% JavaScript 53.52% SCSS 37.77%
reactjs react npm create-react-app react-jsx sass scss tictactoe-game

tictactoe_react.js's Introduction

Tic Tac Toe - React.js

npm react

Table of contents

General info

Simple Tic Tac Toe (noughts and crosses, Xs and Os) game made with React.js. Bootstrapped with Create React App.

screenshot

Features:

  • multiplayer game mode - on one computer only (no AI or script-controlled opponent),
  • "going back in time" - ability to go back to any move,
  • sort back-buttons (the ones used to "go back in time") - ascending and descending,
  • view history of your moves,
  • view coordinates of every move saved in history of moves (e.g. โœ˜ on A1, ใ€‡ on B2 etc.),
  • highlight current move in the history of moves,
  • highlight the three fields which ensured victory,
  • information about the draw if the game ends due to lack of moves.

Technologies

  • React.js with React JSX syntax,
  • Sass with SCSS syntax.

Setup

To run this project, install it locally using npm:

$ cd ../TicTacToe_React.js
$ npm install

Then you can:

  • npm start - launch the application and go to the http://localhost:3000 to play the game,
  • npm test - launch all available tests.

tictactoe_react.js's People

Contributors

mmazepa avatar

Watchers

 avatar  avatar

tictactoe_react.js's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.