Skip to content

Apmds/TetrVs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TetrVs

This is a simple multiplayer implementation of a Tetris-like game in Go. It was made as my first project in this language to better familiarize myself with it.

The game uses the rotations described in the Super Rotation System, but does not implement the wall kick that the system normally has.

Demo

Demo

Controls

The game uses the default controls from the TETR.IO website.

  • Left/Right: sliding to the sides
  • Down: soft drop
  • Space: hard drop
  • Z/X: Rotation left and right
  • C: hold / swap hold pieces

Protocol

The networking protocol is defined in the protocol.md file.

Building

Requirements:

  • A 64-bit capable compiler (for windows, w64devkit is recommended).
  • The Go programming language. The project was built with version 1.24.4.

Linux

git clone https://github.com/Apmds/TetrVs
cd TetrVs
build.sh
cd bin
./tetrvs

Windows

git clone https://github.com/Apmds/TetrVs
cd TetrVs
build.bat
cd bin
tetrvs.exe

If you only want to run the project instead of getting the executable, just run go run . instead of the build script. This way you won't get the bin directory.

Screenshots

screenshot1 screenshot2

Credits

Go bindings for Raylib by gen2brain

A Tour of Go website

About

A 2-player tetris inspired game.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages