25 lines
570 B
Markdown
25 lines
570 B
Markdown
# My own Tetris Clone!
|
|
|
|
This repository houses my own implementation of Tetris. _Why?_ To learn a bit of game programming and using OpenGL/GLFW.
|
|
|
|
## Building
|
|
|
|
You need [GLFW](https://www.glfw.org) to build this project, as well as OpenGL 4.1. Compile the project using CMake:
|
|
|
|
```
|
|
cmake -S . -B build
|
|
cmake --build build
|
|
build/Tetris
|
|
```
|
|
|
|
## Generating glad files
|
|
|
|
Using [glad](https://github.com/Dav1dde/glad) version 2, run:
|
|
|
|
```
|
|
glad --out-path . --api gl:core=4.1 c
|
|
```
|
|
|
|
## License
|
|
|
|
This work is licensed under the MIR license. See [LICENSE](./LICENSE) for details.
|