Giter Site home page Giter Site logo

tictactoe-game's Introduction

TicTacToe Game

Written on React/Redux.

Install / Rebuild after changing deps list (package.json/yarn.lock)

  1. Docker-compose: docker-compose build.
  2. Locally: yarn install. Yarn version should be <2.0.

Run

  1. Docker-compose: docker-compose up -d. And docker-compose stop to stop it.
  2. Locally: yarn start. Yarn version should be <2.0.

Todos

  1. Update layout of to support random field size, not 3 only. (Use css grid and flex.)
  2. Improve Thunk usage into gameSlice โ€” read https://redux-toolkit.js.org/tutorials/advanced-tutorial#thinking-in-thunks
  3. Update logic of processMove invoking โ€” now reducers are been calling even after a game finishes.
  4. Write some tests with Redux Toolkit!
  5. Try to use Saga instead of Thunk.
  6. Improve logic of displaying different game steps/states in .
  7. Implement calculation result logic for case with SIZE != 3 plus add an input for getting SIZE from user.
  8. Learn and use PropTypes in the project.
  9. Add eslint && prettier
  10. Add docker-compose support to avoid yarn version incompatibility.
  11. Use styled-components.
  12. Implement code splitting practices.
  13. Implement adaptive + responsive markup.
  14. Rewrite with Typescript.

tictactoe-game's People

Contributors

pluseg avatar dependabot[bot] avatar

Watchers

 avatar

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.