codethejason / checkers

A Checkers Game based on Javascript.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Checkers

Using It

Play by selecting your piece and clicking on the tile you want to move to. Click here to learn how to play checkers. Jumping when available is enforced.

Code

The code supports all the features of checkers including kingship and double/triple/quadruple jumping. The Board object controls the board and therefore the game. The pieces and tiles instances are used in the game for checking whether a piece can be moved, moving a piece, deleting a piece, checking whether tile is in range, and much more. The script is fully commented and original.

If you find any bugs, please make a Pull Request or an Issue.

Live Demo

DEMO

About

A Checkers Game based on Javascript.

License:GNU General Public License v2.0


Languages

Language:JavaScript 58.1%Language:CSS 35.7%Language:HTML 6.2%