GithubHelp home page GithubHelp logo

00-00-00-11 / ludo Goto Github PK

View Code? Open in Web Editor NEW

This project forked from scientific-dev/ludo

0.0 1.0 0.0 509 KB

An awesome site to play singleplayer ludo for fun even with bots!

Home Page: https://scientific-dev.github.io/ludo

License: MIT License

Svelte 41.27% CSS 6.45% JavaScript 52.28%

ludo's Introduction

Ludo

An awesome site to play singleplayer ludo for fun with bots! Visit the site.

What is Ludo?

Ludo is a strategy board game for two to four players, in which the players race their four tokens from start to finish according to the rolls of a single die. Like other cross and circle games, Ludo is derived from the Indian game Pachisi. The ludo board and rules used in the site is from the Pachisi variant of the Ludo...

How to play?

  • There are 4 players represented with red, green, blue or yellow color.
    • The game can be also played with 2 or 3 players.
    • If you are alone, just add a bot to the game which will play as an opponent for you!
  • Each player will have 4 coins in the prison/jail.
  • Each player gets a turn to roll the dice and if the player rolls a 6, they will get another chance to roll the dice again.
  • You can take a coin out of the prison/jail only if a dice is rolled at 6.
  • All of your coins reaches the home, the player wins!
  • Knocking other player's coins or if one your coin reaches the house, you will get another chance to roll the dice.
    • You can only knock out a coin only at steps which are colored white (not darker white, green, blue, red and yellow).

Note

  • This might have messy codes at some parts and have bugs, you can contribute if you want.
  • This does not currently supports multiplayer. If multiplayer will be ever supported, it would be a peer to peer socket (might be risky).
  • The code used in the project might be hardcoded, if any suggestions, kindly open an issue...

ludo's People

Contributors

scientific-dev 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.