Skip to content

📱 A modern Tetris game built with Next.js 15 & React 19, featuring retro console UI and touch controls. Developed in 4 hours with AI assistance.📱 A modern Tetris game built with Next.js 15 & React 19, featuring retro console UI and touch controls. Developed in 4 hours with AI assistance.

License

Notifications You must be signed in to change notification settings

free-game-hub/next-tetris

Repository files navigation

Next Tetris

English | 中文

English

Introduction

A modern implementation of the classic Tetris game, built with Next.js 15 and React 19. This project features a retro game console UI design with modern web technologies.

Tech Stack

  • Next.js 15
  • React 19
  • TailwindCSS
  • TypeScript
  • Web Audio API

Features

  • Retro game console UI design
  • Responsive layout for both desktop and mobile
  • Keyboard and touch controls
  • Sound effects with Web Audio API
  • Game state persistence
  • Score tracking and statistics
  • Achievement system

Development

This project was developed in just 4 hours, accelerated by AI Cursor. The original inspiration comes from chvin/react-tetris, but has been completely rewritten with modern web technologies.

Installation

npm install
npm run dev

Controls

  • Arrow keys / WASD: Move block
  • Space: Drop block
  • P: Pause game
  • R: Restart game
  • S: Toggle sound

About

📱 A modern Tetris game built with Next.js 15 & React 19, featuring retro console UI and touch controls. Developed in 4 hours with AI assistance.📱 A modern Tetris game built with Next.js 15 & React 19, featuring retro console UI and touch controls. Developed in 4 hours with AI assistance.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published