Skip to content

An implementatation of the snakes and ladders game with Tauri

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT
Notifications You must be signed in to change notification settings

sabn0/SnakesAndLadders-Rs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SnakesAndLadders-Rs

rust version Tauri version

An implementatation of the famous and popular snakes and ladders game, as a desktop app.
Ladders and snakes are generated randomaly every time the game is initialized.

How to play

First you need to have Rust and npm on your machine. Then run (on linux):

git clone https://github.com/Sabn0/SnakesAndLadders-Rs.git
cd SnakesAndLadders-Rs
npm install
npm run tauri dev

I also attached an sh script above. Required 2.3 GB when built on my local machine.

Software

Programmed using the amazing Tauri framework:

  • Rust (vs 1.69.0) for the backend.
  • JavaScript, HTML and CSS for the frontend.

References

The dice implementation was heavily based on the nice tutorial here.

License

Under MIT license and Apache License, Version 2.0.