How ayush27-cs/ludo works
The repository is a small collection of standalone Python examples, not a unified Ludo application. The README describes Ludo as the product: players take turns pressing Enter to roll, pieces unlock on a six, positions advance along a track, and reaching the track length wins. The calculator and insertion-sort scripts are separate examples. Edges below reflect only relationships visible in the supplied excerpts.
Main entry points: ludo.py Turn loop
Components 8
Ludo Game
- Game entry
ludo.py - Turn loop
ludo.py - Dice roll
ludo.py - Piece state
ludo.py - Win check
ludo.py
Other Examples
- Interactive calculator
learner.py - Insertion sort demo
hello.py
Other components
- Player
Connections 7
- Player → Game entry: starts game
ludo.py - Game entry → Turn loop: calls
ludo.py - Turn loop → Player: prompts roll
ludo.py - Turn loop → Dice roll: calls
ludo.py - Dice roll → Turn loop: returns result
ludo.py - Turn loop → Piece state: updates position
ludo.py - Turn loop → Win check: checks position
ludo.py