GithubHelp home page GithubHelp logo

checkers-online's Introduction


Checkers Online

This is a personal project. My objective was to test my skills doing an online, multiplayer game.

In this project I built a CHeckers game using JavaScript's framework Phaser 3, a "fast, free and fun open-source framework for Canvas and WebGL powered browser games".

Table of Contents

The game

This is a simple checkers game, but it is multiplayer only - you can only play if someone click on 'Join Game' and insert your code. Doing an AI to play a single game is in my future plans.

The rules

Some of the common rules were aplied, other were not. Here are the rules:

  • Hoving over a piece show if it can moved. Clicking on it show the possible moves, including jumps and multiple jumps.
  • Jumping over an opponent piece will destroy that piece. It is called eating.
  • All pieces walk in diagonal and forwards, and one spot at time, unless it is possible to do eat multiple pieces.
  • If a piece reach the last spot of the table this piece will be turned into a king. The king can eat and walk backwards.
  • In this version of the game you are not obligated to eat if you can.
  • You win if the opponent ends with no pieces or movements.

How to play

Youn can play it online clicking here or locally following these steps:

  • Click on the green button "Clone or Download"
  • Click on Download ZIP
  • Extract the game
  • In your terminal, navigate to the game's folder
  • Run 'node server.js'
  • Open, in your browser, 'localhost:8082'
  • Humiliate your friends.

Contact

Author: Raphael Cordeiro

Follow me on twitter, visit my Github portfolio, my Linkedin or my personal portfolio.

checkers-online's People

Contributors

phalado 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.