Skip to content

Latest commit

 

History

5 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Stackdown

A typical falling block game from the 1900's, built with Spinel and sdl — a demo of the sdl bindings.

Requirements

  • Spinel (spin)
  • SDL3, statically linked via the sdl package — no brew install needed at build or run time

Install Spinel

With asdf:

asdf plugin add spinel https://github.com/jockofcode/asdf-spinel
asdf install spinel master
asdf set -u spinel master   # make it the default (~/.tool-versions)

Or build it from source:

git clone https://github.com/matz/spinel.git
cd spinel
make
export PATH="$PWD/bin:$PATH"
cd -

Play

spin run stackdown

Or build first and run the binary directly:

spin build
./build/bin/stackdown

Controls

Key Action
Left / Right Move
Up Rotate
Down Soft drop
Space Hard drop
P Pause
R Restart (after game over)
Esc / Q Quit

About

A falling-block puzzle game built with SDL on Spinel

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages