gtris

command module
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 18, 2022 License: MIT Imports: 5 Imported by: 0

README

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)

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL