https://github.com/akmalfairuz/c-simple-games
C Simple Games
https://github.com/akmalfairuz/c-simple-games
Last synced: about 2 months ago
JSON representation
C Simple Games
- Host: GitHub
- URL: https://github.com/akmalfairuz/c-simple-games
- Owner: AkmalFairuz
- License: gpl-3.0
- Created: 2024-11-14T00:30:07.000Z (6 months ago)
- Default Branch: master
- Last Pushed: 2025-01-04T09:20:55.000Z (4 months ago)
- Last Synced: 2025-03-26T04:44:34.273Z (about 2 months ago)
- Language: C
- Homepage:
- Size: 64.5 KB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# c-simple-games
A collection of simple terminal games written in C. College project for the Algorithm and Programming course.
Executable files can be found in the [releases](https://github.com/AkmalFairuz/c-simple-games/releases) page.
## TODO
- [x] Type Racer
- [x] Typing & Validation
- [x] Generate random words
- [x] Scoring
- [x] Don't use `system("cls")` to prevent blinking
- [ ] Don't print the text all at once to prevent print delay
- [ ] Add timer
- [ ] Multiple language support
- [x] Maze
- [ ] Timer
- [ ] Customizable grid size
- [x] Math Quiz
- [x] Leaderboard
- [x] Windows support
- [ ] MacOS support
- [ ] Linux support## How to compile (for Windows)
- Using GCC:
```bash
gcc -std=c11 -o main.exe main.c src/*.c
```- Using CMake:
Ninja is required to compile the project. If you don't have Ninja installed, you can install it using `choco install ninja`.
```bash
cmake -B build -DCMAKE_C_COMPILER=gcc -DCMAKE_BUILD_TYPE=Release -G Ninja -S .
```## Contributors
- [AkmalFairuz](https://github.com/AkmalFairuz)
- [Kristantowinata](https://github.com/Kristantowinata)
- [Takiyo0](https://github.com/Takiyo0)