Skip to content

A Tetris clone with a couple of twists. Written in Rust using SDL.

License

Notifications You must be signed in to change notification settings

andii1701/tetris-bane

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tetris Bane

You'll yearn for the regular tetris blocks.

Tetris Bane A Tetris clone with a deliberately frustrating set of blocks. There's also a classic mode for the purists and even a chill mode!

Written in Rust using SDL.

Image of Classic Mode

Requirments

Compile and run - MacOS and Windows

On MacOS and Windows vcpkg is used to manage the dependency on sdl:

rustup install nightly
cargo install cargo-vcpkg
cargo vcpkg build
cargo +nightly -Z features=itarget run --release

Compile and run - Linux

On Linux pkgconfig is used to manage the dependency on sdl:

rustup install nightly
cargo +nightly -Z features=itarget run --release

(once the -Z flag is merged into cargo stable the rustup command and +nightly won't be required.)

Enjoy!

Music Attribution

Tetris Metal
By Chris Evans
License: https://creativecommons.org/licenses/by/4.0/

A Very Brady Special by Kevin MacLeod
Link: https://filmmusic.io/song/5760-a-very-brady-special
License: http://creativecommons.org/licenses/by/4.0/

Midnight Tale by Kevin MacLeod
Link: https://incompetech.filmmusic.io/song/4710-midnight-tale
License: http://creativecommons.org/licenses/by/4.0/

Ghost Dance by Kevin MacLeod
Link: https://incompetech.filmmusic.io/song/3802-ghost-dance
License: http://creativecommons.org/licenses/by/4.0/

Win32 notes

Building on windows for release (so the terminal does not open):

cargo rustc --release -- -Clink-args="/SUBSYSTEM:WINDOWS /ENTRY:mainCRTStartup"

About

A Tetris clone with a couple of twists. Written in Rust using SDL.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages