johanlindfors / snake-in-rust

Snake Game in Rust

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Snake Game in Rust

This is a small game of snake written in Rust, published as a game in Windows Store.

Getting Started

Coming soon...

Prerequisites

Coming soon...

Building on Windows

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

Building on Mac OS

For Mac OS the following will work

cargo build --features sdl2_mac

Contributing

Feedback and comments are welcome and much appreciated.

Authors

Acknowledgments

  • Initial inspiration to code came from this awesome "Coding Snake in 4 min 30 seconds" video on youtube
  • etc

About

Snake Game in Rust


Languages

Language:Rust 95.8%Language:PowerShell 4.2%