Skip to content

aksenyuk/ludo-tracker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

55 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ludo Board Game Status Tracker

Co-authored-by: @giminosk

Report

Code

Snippets

Results

Description

  • essence of the game:

    • a 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 dice
  • list of in-game items:

    • 8 tokens (4 tokens a player)

    • board

    • dice

  • description of 5 events occurring in the game:

    • enter play from the yard (roll a dice of 6):

      • tracks players' yards => tracks amount of tokens in field

        Implementation: yard bbox with bboxes of each token inside; tracks by coordinate similarity

    • roll a dice on the playing field:

      • tracks score on a dice
    • make a token move according to the rolled dice:

      • tracks token in the field
    • beat opponent (enter the same square as the opponent is in, so that it goes back to its yard):

      • tracks players' yards => tracks amount of tokens in the field
    • enter the home (count score):

      • tracks players' homes => counts current score of a player

        Implementation: tracks by token bbox' coordinate similarity with home bbox)

About

Ludo Board Game Status Tracker

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published