Skip to content

Centronias/sliding-tile

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

sliding-tile

A simple sliding tile game. You can replace the image used by swapping out assets/background.jpg for whatever Amethyst can handle (eg. .pngs). Additionally, you can change the number of tiles in the board by changing the value in SimpleState::on_start to something other than 4.

Todo items:

  • Make it not just crash when you solve it
  • Make it so that the board size doesn't depend on the window size
  • Scramble the board better when it's generated

How to run

To run the game, use

cargo run --features "vulkan"

on Windows and Linux, and

cargo run --features "metal"

on macOS.

About

A sliding tile game

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages