This is a small game of snake written in Rust, published as a game in Windows Store.
Coming soon...
Coming soon...
To build for Windows you need to be explicit about which features is being used:
cargo build --features sdl2_windows --release
Running means you need similar syntax:
cargo run --features sdl2_windows
To create a package that can be uploaded and published through Windows Store, use the following command in a PowerShell console.
.\Make-Appx.ps1
The resulting Snake.msix package should be enough to publish. The latest build is already available (however currently hidden from search) in Windows Store
For Mac OS the following will work
cargo build --features sdl2_mac
Feedback and comments are welcome and much appreciated.
- Johan Lindfors - Initial work - johanlindfors
- Initial inspiration to code came from this awesome "Coding Snake in 4 min 30 seconds" video on youtube
- etc