Tagged articles
5 articles
Page 1 of 1
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Nov 19, 2023 · Game Development

Match‑3 Game Development Tutorial with JavaScript and Cocos

This article provides a step‑by‑step tutorial on building a match‑3 (candy‑crush style) game, covering basic rules, core matching and removal algorithms in JavaScript, and a complete implementation in Cocos Creator with grid layout, touch handling, swap animation, piece falling, and refill logic.

Cocosalgorithmgame-development
0 likes · 27 min read
Match‑3 Game Development Tutorial with JavaScript and Cocos
php Courses
php Courses
Nov 24, 2020 · Backend Development

Implementing a Match‑3 (Happy Elimination) Game Algorithm in PHP

This article explains the requirements, scoring rules, and complete PHP implementation of a classic 8×8 match‑3 (Happy Elimination) game, including random color generation, detection of horizontal and vertical groups, removal, gravity handling, and recursive scoring until no more matches remain.

Game AlgorithmPHPScoring
0 likes · 11 min read
Implementing a Match‑3 (Happy Elimination) Game Algorithm in PHP
Aotu Lab
Aotu Lab
Jan 23, 2018 · Frontend Development

How to Build a Popstar Match‑3 Game with MVC Architecture in JavaScript

This article explains the rules, scoring system, and level design of the classic "Popstar" match‑3 game, then details a full MVC implementation in JavaScript—including tile representation, wave‑average distribution, shuffle, wall solidification, view updates, control bindings, and a discussion of the knapsack‑style max‑score problem—while providing complete code snippets and a GitHub repository link.

Game DevelopmentJavaScriptMVC
0 likes · 14 min read
How to Build a Popstar Match‑3 Game with MVC Architecture in JavaScript