Skip to content

A personal project that remakes Tetris in GoLang

Notifications You must be signed in to change notification settings

Three6ty1/tetrigo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

57 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tetris in Golang

Thank you to L-Gad for the Tetrimino board, mino and tetrimino sprites

This is a personal project that aimed to recreate Tetris in Go. I used the Ebitengine API for simple 2D graphics and rendering. All code is original.

The aim of the project practice and refresh myself on OO principles mainly on classes and interfaces. I did not find a suitable use for Go's concurrency.

How to play

  • Download onto PC
  • Install Go version 1.22.4
  • Change into the repo directory and run the game using go run main.go

Controls

  • Left/Right arrow keys to move
    • Hold arrow keys for Delay Auto Shift
  • Up/X key to Rotate clockwise
  • Z key to Rotate counter-clockwise
  • Shift/C to Hold
  • R to reset the board

Features

Things that I did not end up implementing

  • Sound effects from Tetr.io
  • Menu and settings for hotkey reassignment
  • Text labels for Queue and Hold areas
  • General UI improvements with graphics
  • Preset levels/Gamemodes for 40 line sprint

YouTube video with gameplay (Will redirect)

Gameplay

About

A personal project that remakes Tetris in GoLang

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages