gotris

command module
v0.0.0-...-af71fea Latest Latest
Warning

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

Go to latest
Published: Mar 25, 2023 License: GPL-3.0 Imports: 6 Imported by: 0

README

gotris

Tetris written in go Can be play on terminal

How to

To run using golang: go run main.go

To run using binary: ./gotris

To build binary: make -f build.mk build

Controls:

# Key Action
1 S Start
2 Q Quit
3 Move left
4 Move right
5 Rotate
6 Soft drop
7 Space Hard drop

Sceenshots

Screenshot

Logic

Rotate rule

Rotate

TODOs:

  • Welcome, gameover, leaderboard, screen
  • Configurable size, speed
  • Using WebAssembly to be playable on browsers

Documentation

Overview

Copyright © 2023 tienvu461@gmail.com

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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