An interactive color-matching game built in C, rendered via WebAssembly, and playable directly in the browser. The player adjusts RGB sliders to match a target circle color.
🌐 Play Now
Objective: Match the inner circle's color to the outer circle using RGB sliders.
Rules (displayed in-game):
- Use keys to adjust red, green, and blue values.
 - Try to make both circles visually match.
 - Submit your guess and see if you're right!
 
- C – core game logic and rendering
 - Emscripten – compiles C code to WebAssembly
 - HTML/CSS – styled interface and deployment layer
 - WebGL (via MLX-like API) – graphical rendering backend
 
├── demo.html       # Full game HTML page
├── embed.html      # Minimal canvas-only version for embedding
├── demo.js         # Emscripten JS glue code
├── demo.wasm       # Compiled WebAssembly binary
├── demo.data       # (optional) game assets
├── README.md
Use this <iframe> to embed the game anywhere:
<iframe 
  src="https://42-course.github.io/dino_game/embed.html"
  width="800" 
  height="600" 
  style="border: none; border-radius: 10px; box-shadow: 0 0 20px rgba(0,255,180,0.3);"
  loading="lazy">
</iframe>Just don't take the credit for creating the game, if you mention me it's awesome!
