Need help with tetris?
Click the “chat” button below for chat support from the developer who created it, or find similar developers for support.

About the developer

andrewrk
171 Stars 28 Forks MIT License 175 Commits 0 Opened issues

Description

A simple tetris clone written in zig programming language.

Services available

!
?

Need anything else?

Contributors list

# 12,439
zig
C++
multipa...
aws-s3
134 commits
# 152,156
zig
Shell
Raspber...
mbed
26 commits
# 183,099
zig
c-plus-...
webasse...
collisi...
2 commits
# 130,527
Shell
zig
Electro...
vst-plu...
2 commits
# 176,640
zig
D
Shell
dlang
1 commit
# 123,284
hex-edi...
Shell
transpi...
raku
1 commit
# 530,985
Shell
C++
C
sdl
1 commit
# 81,341
Shell
Git
authori...
Rails
1 commit

Tetris

A simple tetris clone written in zig programming language.

YouTube Demo.

Windows 64-bit build

Controls

  • Left/Right/Down Arrow - Move piece left/right/down.
  • Up Arrow - Rotate piece clockwise.
  • Shift - Rotate piece counter clockwise.
  • Space - Drop piece immediately.
  • Left Ctrl - Hold piece.
  • R - Start new game.
  • P - Pause and unpause game.
  • Escape - Quit.

Dependencies

Building and Running

zig build play

Building on windows using vcpkg

  • Install vcpkg https://github.com/microsoft/vcpkg
  • Install dependencies using
    x64-windows
    triplet
  • Use the flags
    -Dwindows -Dvcpkg
    when building the project

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.