tetris/README.md

26 lines
570 B
Markdown
Raw Normal View History

2023-09-17 17:43:22 +00:00
# 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
2023-09-17 18:15:19 +00:00
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
```
2023-09-17 17:43:22 +00:00
## Generating glad files
Using [glad](https://github.com/Dav1dde/glad) version 2, run:
```
glad --out-path . --api gl:core=4.1 c
```
## License
2023-09-17 18:15:19 +00:00
This work is licensed under the MIR license. See [LICENSE](./LICENSE) for details.