XOrRonX / Checkers-game

checkers game using ReactJS

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Checkers-game

This is a two player checkers game built in ReactJS:

  • The rules are normal checkers. Kings are made by reaching the opponents side, multi-jumping is possible.
  • The project was started using the NPM create-react-app
  • The game's business logic lives in the App.js component. The board is initialized as an class where key values represent board coordinates.
  • Pieces for both players are stored as the values in the board object
  • Each time a player moves including multi-jumps, the game records the board's state.
  • When a pieces is selected, available moves (including jumps) are passed to the game's state.

Tux, the Linux mascot

About

checkers game using ReactJS


Languages

Language:JavaScript 79.1%Language:CSS 10.9%Language:HTML 10.0%