luisparravicini / gtris

A tetris clone in golang using ebitengine

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

gtris

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

screenshot

The pieces rotation should be improved

Building

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.

Images

The image used to create all of the pngs in gtris/images/ is gtris/images/block.xcf

Controls

  • Left/Right: Move
  • Up: Rotate
  • Down: Drop (keep it pressed)

About

A tetris clone in golang using ebitengine

License:MIT License


Languages

Language:Go 91.9%Language:Makefile 4.5%Language:HTML 3.6%