Skip to content

psrikanthm/snakes-and-ladder

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Snakes and Ladders

A modular game engine for Snakes and Ladders built in Python. Mostly written by Antigravity

Features

  • Customizable board size (default 100)
  • Configurable snakes and ladders
  • Multiplayer support (2-4 players)
  • CLI implementation

Project Structure

  • src/: Source code
    • game.py: Game controller
    • board.py: Board logic
    • player.py: Player model
    • dice.py: Dice simulation
    • main.py: CLI entry point
  • tests/: Unit tests

How to Run

Run the game from the command line:

python3 src/main.py

Running Tests

Execute the test suite:

python3 -m unittest discover tests

About

Snakes and Ladders: Simulation, Markov Chains, and Board Design

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors