Something similar to four-tris
The coordinate system is in the center of the screen
Everything is drawn every frame
Press ESC to open settings to change the controls Press F3 if you want to see debugging information
Tetris Guideline spefications are followed as closely as possible They are available via here
During development run
cargo install cargo-watch
cargo watch -x run
to achieve hot code reloading
Use Act To test github actions
docker build --no-cache --tag ziloka/tetris:act-20.04 .
# docker scout quickview
act --platform ubuntu=latest=ziloka/tetris:act-20.04 --pull=false --artifact-server-path tmp/artifacts
# act --platform ubuntu-latest=ghcr.io/catthehacker/ubuntu:rust-22.04 --artifact-server-path tmp/artifacts
https://github.com/vlang/v/tree/master/examples/tetris
https://github.com/corbamico/bevy-tetris
https://github.com/zigurous/unity-tetris-tutorial
https://github.com/JohnnyTurbo/LD43
https://www.youtube.com/watch?v=yIpk5TJ_uaI
After 37 minutes
On windows the memory goes from 50mb to 2015mb