Skip to content

andykhv/Tetris3D

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tetris3D by Andy Khov

Tetris3D rendered with OpenGL and written in C++

screenshot

Directions

  • Use arrow keys to move the tetris block
  • Spacebar to immediately drop the tetris block
  • Z to rotate
  • X to hold
  • ESC to quit game

Steps to run this app

  1. create a build folder and move into build folder
  2. run "cmake .."
  3. run "make -j4"
  4. run "./Tetris3D"

Dependencies (Or just dependency haha)

  • OpenGL
    • GLEW
    • GLFW
    • GLM

Final Notes

  • This project was done as my final project for Cal Poly's Intro to Computer Graphics course
  • Thank you to Christian Eckhardt for being a wonderful professor!
  • Most code was given by the professor as base code. (except Main.cpp, Tetromino.cpp, Tetromino.h, Board.cpp, Board.h)
    • Base code is used to provide window, shader, and object management
    • Game mechanics are in Board.cpp and Tetromino.cpp

About

Tetris powered by OpenGL

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages