All Projects → MichaelS11 → go-tetris

MichaelS11 / go-tetris

Licence: other
Golang Tetris for console window with optional AI

Programming Languages

go
31211 projects - #10 most used programming language
Dockerfile
14818 projects

Projects that are alternatives of or similar to go-tetris

CppTetris
Tetris made within an hour
Stars: ✭ 104 (+55.22%)
Mutual labels:  tetris
terminal-tetris
tetris written in C for linux terminal, featuring top notch ASCII graphics based on the original tetris game
Stars: ✭ 15 (-77.61%)
Mutual labels:  tetris
Wortuhr ESP8266
Wortuhr mit ESP8266 WeMos D1 mini und NeoPixel WS2812B LEDs mit mp3 Sounds, Animationen, Transitions, Events und Spiele
Stars: ✭ 33 (-50.75%)
Mutual labels:  tetris
Tetris
A (incomplete) terminal Tetris. Written in Haskell.
Stars: ✭ 26 (-61.19%)
Mutual labels:  tetris
Tetris
☕️A tetris game written in Java, suitable for beginners to practice.
Stars: ✭ 22 (-67.16%)
Mutual labels:  tetris
React Tetris
Use React, Redux, Immutable to code Tetris. 🎮
Stars: ✭ 6,770 (+10004.48%)
Mutual labels:  tetris
playing-mario-with-deep-reinforcement-learning
An implementation of (Double/Dueling) Deep-Q Learning to play Super Mario Bros.
Stars: ✭ 55 (-17.91%)
Mutual labels:  tetris
tetris
Html5 tetris game, supports two players. 支持本地双人对战的html5俄罗斯方块游戏.
Stars: ✭ 13 (-80.6%)
Mutual labels:  tetris
tetris
轻松10步用es6写出俄罗斯方块🎉
Stars: ✭ 30 (-55.22%)
Mutual labels:  tetris
Python-Games
A collection of small python games made by me using pygame and tkinter libraries
Stars: ✭ 121 (+80.6%)
Mutual labels:  tetris
Tetris AR
An AR Tetris (unity3d+vuforia)
Stars: ✭ 14 (-79.1%)
Mutual labels:  tetris
tetris-ai
A Tetris AI written in JavaScript that uses a genetic algorithm
Stars: ✭ 22 (-67.16%)
Mutual labels:  tetris
tetriss
Tetris clone written in JavaScript 🎮 https://antonioolf.github.io/tetriss/
Stars: ✭ 14 (-79.1%)
Mutual labels:  tetris
nvim-tetris
Bringing emacs' greatest feature to neovim - Tetris!
Stars: ✭ 114 (+70.15%)
Mutual labels:  tetris
yafpgatetris
Yet Another Tetris on FPGA Implementation
Stars: ✭ 29 (-56.72%)
Mutual labels:  tetris
mimstris
A falling block puzzle game created using React and Redux.
Stars: ✭ 129 (+92.54%)
Mutual labels:  tetris
Tetris
Tetris in F#, dotnet core and MonoGame. Arcade sounds included!
Stars: ✭ 29 (-56.72%)
Mutual labels:  tetris
UnityTetris
Tetris clone written in C# and using Unity engine to render.
Stars: ✭ 131 (+95.52%)
Mutual labels:  tetris
TetrisAI
The old school Tetris game in addition with an AI that learns evolutionary how to play this game
Stars: ✭ 24 (-64.18%)
Mutual labels:  tetris
Tetris.jl
you know, for kids? 👾
Stars: ✭ 27 (-59.7%)
Mutual labels:  tetris

Go Tetris

Golang Tetris for console window with optional AI

Features include

  • AI (use i key to toggle)
  • Lock delay
  • Next piece
  • Ghost piece
  • Top scores
  • Board choices
  • Edit boards

Compile

go get github.com/MichaelS11/go-tetris
go install github.com/MichaelS11/go-tetris

Play

Then run the binary created, go-tetris or go-tetris.exe

Keys start screen

Key Action
previous board
next board
spacebar start game
ctrl e edit board
q quit

Keys during game

Key Action
left move
right move
soft drop
hard drop
spacebar hard drop
z left rotate
x right rotate
p pause
q quit
i toggle AI

Keys edit mode

Key Action
move cursor left
move cursor right
move cursor down
move cursor up
z rotate left
x rotate right
c cyan block - I
b blue block - J
w white block - L
e yellow block - O
g green block - S
a magenta block - T
r red block - Z
f free block
ctrl b change board size
ctrl s save board
ctrl n save board as new
ctrl k delete board
ctrl o empty board
ctrl q quit edit mode

Screenshots

alt text

alt text

alt text

alt text

To do

  • Improve AI speed (slow on large boards)
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].