Skip to content

andii1701/tetris-bane

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
src
 
 
web
 
 
 
 
 
 
 
 
 
 
 
 

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