Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
M

match3

> 编程语言
Open source

A web match-3 game in C++14 using SDL2 / MVC / Range-v3 / Meta State Machine / Dependency Injection

191 stars0 likes0 views
WebsiteGitHub

About

A web match-3 game in C++14 using SDL2 / MVC / Range-v3 / Meta State Machine / Dependency Injection


A web Match-3 game in C++14

Tested Compilers

  • Web

    • Emscripten
    • WebAssembly
  • Desktop

    • Clang-3.7+
    • GCC-6+

Dependencies

  • SDL2
  • Range-v3
  • [Boost].DI
  • [Boost].SML

Quick start

bash
Desktop
Web




Download
git clone --recursive https://github.com/modern-cpp-examples/match3.git




Compile
mkdir build &amp;&amp; cmake .. &amp;&amp; make app
mkdir build &amp;&amp; cmake -DCMAKE_CXX_COMPILER=em++ .. &amp;&amp; make web




Run
./match3
$browser index.html

Related Materials

  • CppNow 2016 - Let's make a web match-3 game in C++14
  • Meeting C++ 2016 - Implementing a web game in C++14

Issues· 0 open

View all issuesOpen on GitHub

No open issues yet, or sync has not completed.

> Tags

C++

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 18, 2026
Category编程语言
PricingOpen source

> Related tools

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言