https://github.com/wintercore/rustris
https://github.com/wintercore/rustris
hacktoberfest
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/wintercore/rustris
- Owner: WinterCore
- Created: 2023-11-13T22:51:21.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-10-26T08:29:41.000Z (over 1 year ago)
- Last Synced: 2025-02-14T20:31:19.578Z (over 1 year ago)
- Topics: hacktoberfest
- Language: C
- Homepage:
- Size: 604 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Rustris
Simple Tetris game written in Rust C
This project was supposed to be written in Rust but I changed my mind because apparently OpenGL is full of unsafe code and there's no advantage in using Rust so I'll be writing it in C, and NO I will not change the name.
## How to run locally
- Make sure you have any C compiler and [make](https://www.gnu.org/software/make/) installed
- Clone the project `git clone https://github.com/WinterCore/rustris.git && cd rustris`
- Build the game by running `make`
- Run the game executable `./Rustris`
### TODO
- Implement the basic game
- Improve the UI
- Add a better RNG
- Add multiplayer
### References
- [https://learnopengl.com/Getting-started/Hello-Triangle](https://learnopengl.com/Getting-started/Hello-Triangle)
- [https://tetris.fandom.com/wiki/SRS](https://tetris.fandom.com/wiki/SRS)
`bear -- make` to generate `compile_commands.json` for `coc-clangd`