A tetris clone in golang using ebitengine. The scope of this project was to learn about ebitengine and golang, so don't expect a complete almost-bug-free game.
I've found about ebiten by @danicat83's talk GopherCon UK 2021: Daniela Petruzalek - Building an Indie Game in GO
Play it on your browser here https://mulitasoft.itch.io/gtris
The pieces rotation should be improved
To build for the current platform: make build
and then run ./gtris
.
To build for the web: make web
and all the files will be copied to the web
directory. With make run_web
a http server is started so the web version can be accessed locally.
The image used to create all of the pngs in gtris/images/
is gtris/images/block.xcf
- Left/Right: Move
- Up: Rotate
- Down: Drop (keep it pressed)