A simple "Click the Cat" game developed for Garbage Jam #4 using C and Raylib.
- Use WASD keys to move the cat around the screen
- Click on the cat with your mouse before time runs out
- Each successful click increases your score
- The cat's eyes follow your mouse cursor for extra cuteness
- Simple, intuitive controls
- Cute animated cat with interactive eyes
- Score tracking with timer
- Sound effects (meow, wilhelm scream) and background music
- Three game states: Start Screen, Playing, Game Over
- Raylib (https://www.raylib.com/)
- A C compiler (GCC, Clang, etc.)
- Clone this repository
- Install Raylib on your system
- Build using the provided Makefile:
The Makefile generates executables in the
make
dist/directory for macOS, Windows, and Web.
- macOS:
./dist/clickthecat-macos - Windows:
dist\clickthecat.exe - Web: Open
dist/web/ctc.htmlin a browser
- WASD - Move the cat
- Mouse - Aim (cat's eyes follow cursor)
- Left Click - Click the cat to score
- ENTER - Start game / Restart after game over
- ESC - Close window/exit game
src/
├── main.c # Main entry point
├── game.c # Game logic and state management
├── player.c # Cat movement and drawing
├── cat.c # Cat drawing with interactive eyes
├── audio.c # Sound effects and music
├── constants.h # Game constants and configuration
├── player.h # Player struct and function declarations
├── cat.h # Cat drawing function declaration
└── audio.h # Audio resource management
This game was created as an entry for Garbage Jam #4, a game jam focused on creating simple, fun games with limited resources.
This project is licensed under the MIT License - see the LICENSE file for details.
Can be found within the Docs folder in Licenses
CieloForge - https://cieloforge.itch.io | https://github.com/cieloforge
Last updated: 2026-05-25