# Binaryify/vue-tetris

Use Vue, Vuex to code Tetris.使用 Vue, Vuex 做俄罗斯方块

Repository: https://github.com/Binaryify/vue-tetris
Canonical: https://ross.abutalabs.com/products/vue-tetris
Homepage: https://binaryify.github.io/vue-tetris/
Language: JavaScript
License: MIT
License Family: permissive
Topics: vue, vuex, immutable
Last push: 2025-09-08T07:24:35+00:00

## Health v2 (maintenance only)
Score: 41/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 41, release rhythm 8, longevity 100
- inputs: {"age_days": 3369, "days_push": 359, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2774, forks 568 (observed 2026-08-28T04:07:19.136006+00:00)

## What it is
A browser-based Tetris game built with Vue and Vuex, ported from a React version. It features responsive keyboard/touch controls, Web Audio API sound effects, and full state persistence via localStorage so games can be resumed after refresh or crash.

## Use cases
- play tetris in the browser
- learn how to build a game with vue and vuex
- example of vuex state management in a real app
- web audio api sound effect example
- responsive game with keyboard and touch controls
- persist game state across page refreshes

## When to choose
- you want a playable Vue Tetris demo or reference implementation
- you are learning Vue/Vuex state management patterns
- you need an example of Web Audio API usage in a game

## When to avoid
- you need a production game engine or extensible game framework
- you use React instead of Vue
- you need native mobile or desktop game performance

## Facets
- artifact type: application
- maturity: stable
- function: game-engine, state-management, audio-processing
- domain: web-development, frontend
- platform: browser, cross-platform
- tags: tetris, vue, vuex, web-audio-api, responsive, localstorage-persistence, browser-game, game-development, web-server

## Member repositories
- Binaryify/vue-tetris (main) score 41

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:07:19.136006+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T08:16:34.736723+00:00, confidence not recorded.
  - readme: https://github.com/Binaryify/vue-tetris (fetched 2026-08-28T04:07:19.136006+00:00, sha c19b8374b689)
  - homepage: https://binaryify.github.io/vue-tetris/ (fetched 2026-08-29T09:56:02.415419+00:00, sha 1d4956c92d2b)
- Data as of 2026-08-30T08:39:29.467469+00:00.
