Skip to content

up9t/game-tetris

Repository files navigation

Tetris

I tried to create Tetris using C++ and Raylib.

100% code written by me. No AI Code-Completion/Generation is used while making this project.

Screenshot

How To Play

  • Press A or Arrow Left to move left.
  • Press S to Arrow Down move down.
  • Press D to Arrow Right move right.
  • Press Space to insta-place.
  • Press Q to rotate counter-clockwise.
  • Press E to rotate clockwise.

Run with Docker

Build docker image

git clone <this repo>
docker build -t tetris . -f web.Dockerfile
docker run --rm -p 8080:80 tetris

Open http://localhost:8080

Build

cmake --preset default cmake --build out/build/default ctest --test-dir out/build/default

TODO

  • Multi Color (Optional)
  • Sounds
  • Add Game Over

About

Tetris Game Made with C++ and Raylib.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors