Implementing a web game in C++14
summary
A working C++14 match‑3 web game exists: source uses ranges, boost DI and SML for logic, SDL2 for rendering, compiled with M scripton into both asm.js and web assembly. The webassembly bundle is ~1 MB versus ~9–10 MB for asm.js, claim of near‑native speed; runtime demo runs in browser, demo score reaches 83 points. Key specifics: jump‑table event dispatch, view‑based board with range views, zero‑overhead DI and state machine, scrolling + random refill implemented and verified.
AI-written summary · about
chapters (21)
- 0:00Start
- 1:24Design Implementation
- 2:47Overview
- 5:03Future of the Web
- 5:39Webassembly Explorer
- 6:55Assembly
- 7:52Libraries
- 10:22Actions
- 20:00Design
- 22:08Configuration
- 24:01Interface
- 25:12Game Loop
- 37:19Verify Column and Row
- 40:22The Rotate from Stl
- 41:05State Machines
- 42:14Initial State
- 43:41Recap
- 44:08State Machine
- 54:25Benchmarks
- 55:05Compile It to the Web
- 55:44Web Assembly
related talks
01h 09mSandbox Games: Using WebAssembly and C++ to make a simple game
54mSandbox Games: Using WebAssembly and C++ to Make a Simple Game
01h 12mSandbox Games - Using WebAssembly and C++ to Make a Simple Game
57mC++ on the Web: Let's have some serious fun.
34mModern Web Game Development
39mBringing the power of C++ to the web
04mA Quick Recap on WebAssembly
44mA Cartoon Quest: New Adventures for WebAssembly
