snake_ladder

Crates.iosnake_ladder
lib.rssnake_ladder
version0.2.0
sourcesrc
created_at2024-11-26 06:04:40.753372
updated_at2024-11-26 07:28:09.600043
descriptionA simple terminal-based implementation of Snakes and Ladders in Rust.
homepage
repository
max_upload_size
id1461233
size16,067
(wdcs-pruthvithakor)

documentation

https://docs.rs/snake_ladder

README

Snake Ladder

A terminal-based implementation of the classic Snakes and Ladders game written in Rust. Play with a friend and enjoy the thrill of climbing ladders and avoiding snakes!


Features

  • 🎲 2-player gameplay: Take turns rolling the dice.
  • 🐍 Snakes and Ladders mechanics: Land on a snake to slide down, or climb up a ladder to get closer to the finish.
  • πŸ“œ Visual game board: Displays the board with snakes, ladders, and player positions in an intuitive format.
  • 🎨 Color-coded board: Players, snakes, and ladders are visually differentiated using colors (requires a terminal that supports colors).

Getting Started

Prerequisites

  • Rust installed. If you don’t have it, install it via rustup:
    curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
    
    
Commit count: 0

cargo fmt