Skip to content

BruceRanger/rockswap

 
 

Repository files navigation

RockSwap (Match-3 Game) BruceRanger

CI Deploy CodeQL License: MIT Node typescript dev dep vite dev dep Code Style: Prettier GitHub Pages

Lighthouse Scores (out of 100)

Lighthouse Accessibility Badge Lighthouse Best Practices Badge Lighthouse Performance Badge Lighthouse SEO Badge

A match-3 puzzle game built with TypeScript and HTML5 Canvas. Installable as a Progressive Web App (PWA).


Features:

  • 8x8 board with 6 rock kinds
  • Swap adjacent cells by tapping them if the swap will form a match of 3 or more in a row
  • Find matches, clear, collapse, refill
  • Basic scoring and moves

Controls

  • Click a cell and then click an adjacent cell to try a swap.
  • Valid swaps that create matches (3 in a row, same color) will clear and cascade.

How the Game Logic is Organized

The main code is in the src folder. For an overview, see: SRC.md

Making Changes

To make changes, see: CUSTOMIZING.md.

About

A learner-friendly match-3 puzzle game built with TypeScript and HTML5 Canvas.

Resources

License

Contributing

Stars

Watchers

Forks

Languages

  • HTML 92.8%
  • TypeScript 6.2%
  • Other 1.0%