Skip to content

adi-g15/Ludo-The_Game-rs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ludo-The Game (in Rust)

Did it as a refresher on rust, it is totally inspired from Ludo-The Game. Why duplicate my project ? ... :)

Screenshot

Running

Install rust and cargo, simple way is rustup

cargo run --release

Features:

  • Built in separate components:

    • engine - Game Engine (say an API that internally does all the state keeping and internal logic of Ludo)
    • display- Display component using crossterm library, and COMPLETELY separate from this, you can very well use it in other 'Ludo' games, just provide array of strings and coords to box to print at.
    • game - The Ludo Game, using the engine and display component... consider it a 'reference implementation' of using the 'LudoEngine'
  • Ludo Engine: Complex term for a simple thing, does all internal logic of Ludo, say you are building an "All in one" game, you can just take this engine (inside the 'src/engine' directory), and built a perfectly working ludo component

  • Bas itna hi : )