Skip to content

Latest commit

 

History

History
34 lines (26 loc) · 737 Bytes

README.md

File metadata and controls

34 lines (26 loc) · 737 Bytes

Tetris game

Using SDL2 and C++ to make a tetris game :)

To start, run the executable

Controls

  • q, to quit
  • p, to pause/unpause (no indicator though)
  • Arrow Up, to rotate
  • Arrow Down, to soft drop
  • Arrow Right, to soft move right
  • Arrow Left, to soft move left
  • Spacebar, to hard drop

Build

  • Install SDL2
  • Install GLEW
  • mkdir build
  • cd build
  • cmake -G <whatever CMake generator you want> ../
  • Build using the build system that you generated

Considerations

  • This was only tested and ran on Linux and not on any other platforms such as Windows or MacOS
  • There is no scoring system.
  • There is no sound.
  • No starting menu.
  • No pause screen.
  • No adjustable settings.
  • No textures.