◀ VibeCruiser

neon tetris

A free tetris game — play it in your browser, no install. Neon arcade Tetris built with vanilla JavaScript and Canvas — SRS rotation, 7-bag, ghost piece, hold and responsive touch controls.

by @yangbai-123 · yangbai-123/neon-tetris on GitHubLANG JavaScriptHOSTED ON YANGBAI-123.GITHUB.IOUPDATED 2 Nov 2026

Made this, @yangbai-123? See how many people played it → or use email

Controls: Arrow keys · Space · Mouse

▶ Play full screen ▲ Vote: free account with email ▲ Or sign in with GitHub

GitHub may ask you to sign in, then to let VibeCruiser “Verify your GitHub identity” and “Act on your behalf”. We only read your profile and email, and never post anything.

Open the live demo Source on GitHub

From the README

一款使用原生 HTML / CSS / JavaScript 与 Canvas 制作的经典俄罗斯方块小游戏。 霓虹街机视觉,支持键盘与触屏,无任何运行时依赖。

▶ 在线试玩 · 本地运行 · 操作方式

把不断落下的七种方块堆叠起来,填满一整行即可消除。方块碰到顶端时游戏结束。

标准 10 × 20 游戏场地。 SRS 旋转系统 与墙踢(Wall Kick),贴墙也能顺畅旋转。 7-Bag 随机:每七个方块为一组,不会长时间等不到 I 块。 幽灵落点:提前看到方块会落在哪里。 逐帧平滑下落:方块在格子之间连续移动,而不是一格一格地跳。 可见暂停按钮:棋盘上方随时暂停 / 继续,也支持 P / Esc. NEXT × 5 预览与 HOLD 暂存。 键盘、触屏均可操作,自适应桌面与手机。 使用 WebAudio 实时合成音效,可随时静音。

每新出现一个方块,HOLD 只能使用一次;方块落地后恢复。

渲染:Canvas 2D,按 devicePixelRatio 缩放,保证高分屏清晰。 碰撞:基于当前旋转矩阵逐格检测边界、地板和已固定方块。 消行:锁定后扫描满行 → 播放闪烁 / 粒子动画 → 收起行并结算。 旋转:预置 SRS 踢墙偏移表,顺时针 / 逆时针均支持。 手感:逐帧平滑下落、DAS 自动连续移动、软降计分、硬降震屏、幽灵块落点。

Read the full README on GitHub →

Built something like this? Submit your vibe — free account, takes a minute. How listing works.

More like this

More tetris games →

Made this?

Claim it: create a free account, then press CLAIM THIS in the cruiser. Put the badge below in your README or on your demo page first; that link is how we know it's yours.

Your project is on the cruise, loaded live from your own site. Put the badge in your README or on the demo page: it shows your live play count, it links back to this page, and everyone who lands here is one click from running the real thing.

On VibeCruiser

How listing, the badge and claiming work →