Skip to content

barnij/snake_rust

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Snake in Rust

This is a simple Snake game written in Rust using ggez library.
The game was created as a project for the Rust Language course at the Institute of Computer Science of the University of Wroclaw.

Rules

Collect as many mice as you can. Do not eat yourself and do not collide with the wall. You are able to cross the board from one to the opposite site by holes in the walls.

Installation

Use the crate manager cargo to compile program.

cargo build --bins
cargo build

Usage

Run

Use that command to start the game:

cargo run

Control

Use arrows on keyboard to control snake's direction.
Press...

  • Space to start
  • R to restart
  • Escape to quit

the game.

License

MIT

About

A snake game written in Rust

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages