Skip to content

A classic Snake game implemented in **C++** and compiled to **WebAssembly (WASM)** for fast and efficient browser gameplay.

License

Notifications You must be signed in to change notification settings

Mx0M/snake-game-cpp-wasm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

snake-game-cpp-wasm

A classic Snake game implemented in C++ and compiled to WebAssembly (WASM) for fast and efficient browser gameplay.
This project demonstrates how to leverage WebAssembly to run C++ code directly in the browser with smooth graphics using HTML5 Canvas and JavaScript integration.

Features:

  • Responsive controls using keyboard arrow keys
  • Real-time rendering with Canvas
  • Modular C++ code compiled to WASM
  • Lightweight and fast performance in modern browsers

Perfect for learning WebAssembly with C++ and building simple browser games using native code compiled for the web.

About

A classic Snake game implemented in **C++** and compiled to **WebAssembly (WASM)** for fast and efficient browser gameplay.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published