• Models
  • Contests
  • Slicer
  • Login
  • Start Here
    thingiverse-iconprintables-iconcults3d-iconmakerworld-iconmyminifactory-icon

    3D GO

    3D ModelsContestsCollectionsSaved ModelsOn a mobile device?

3D GO

Privacy Policy
3D Tetris on a 3x3x12 LED Matrix 3D Printer File Image 1
3D Tetris on a 3x3x12 LED Matrix 3D Printer File Image 2
3D Tetris on a 3x3x12 LED Matrix 3D Printer File Image 3
3D Tetris on a 3x3x12 LED Matrix 3D Printer File Image 4
3D Tetris on a 3x3x12 LED Matrix 3D Printer File Image 5
3D Tetris on a 3x3x12 LED Matrix 3D Printer File Thumbnail 1
3D Tetris on a 3x3x12 LED Matrix 3D Printer File Thumbnail 2
3D Tetris on a 3x3x12 LED Matrix 3D Printer File Thumbnail 3
3D Tetris on a 3x3x12 LED Matrix 3D Printer File Thumbnail 4
3D Tetris on a 3x3x12 LED Matrix 3D Printer File Thumbnail 5

3D Tetris on a 3x3x12 LED Matrix

Max Siebenschläfer avatarMax Siebenschläfer

January 16, 2025

makerworld-icon
DescriptionCommentsTags

Description

Welcome to the 3D Tetris project! This repository documents the creation of a 3x3x12 LED matrix that enables users to play a fully functional 3D Tetris game. The project leverages an ESP32-based development board (ESPduino) with integrated web server functionality for remote control.

Project Overview

This project was developed as part of the "Applied Microcontroller Technology" module and integrates hardware assembly, software programming, and web-based GUI design. Inspired by the game available at 3DTetris.de, the system enables interactive gameplay through a wireless web interface.

Key features include:

  • A custom-built 3x3x12 RGB LED matrix.
  • ESP32 microcontroller for controlling LEDs and hosting a local web server.
  • A responsive web interface for gameplay and real-time interactions.
  • Open-source software written in C, HTML, CSS, and JavaScript.

Hardware

  • ESPduino Controller: Combines the ESP32 Wi-Fi chip with Arduino-compatible GPIO layout.
  • 3x3x12 LED Matrix: Comprised of 108 individually addressable PL9823 RGB LEDs.
  • Custom Housing: 3D-printed for modularity and ease of assembly.
  • Power Supply: Powered via USB-C with an integrated on/off switch.

Software

  • LED Control: Powered by the FastLED library for efficient matrix management.
  • Game Logic: Implements Tetris gameplay mechanics including rotation, collision detection, and line clearing.
  • Web Interface: HTML/CSS-based GUI hosted via an onboard web server, with multi-language support.

Gameplay

  • Control Tetrominoes (Tetris blocks) through the GUI.
  • Real-time rendering of blocks on the LED matrix.
  • Score tracking and high-score leaderboard.
  • Adjustable levels and difficulty scaling.
  • High-score table to save and display the top 10 scores.
  • Difficulty selection for custom gameplay experiences.

Getting Started
The project guide is available on both the Instructables page and the GitHub repository. Feel free to choose the platform that works best for you.

Acknowledgments

This project was developed by Marvin Heins, Markus Schmidt, and LeonarLeonard Holz-Diehl. Special thanks to the open-source community and the developers of the FastLED library.

License:

BY-SA

Related Models

Minimalistic Motorized Roller Blinds - NEMA 17 stepper motor gear and mount preview image

Minimalistic Motorized Roller Blinds - NEMA 17 stepper motor gear and mount

lushey profile image

lushey

3,992

Case for Flipper Zero Wi-Fi Module v1 preview image

Case for Flipper Zero Wi-Fi Module v1

fivesixzero profile image

fivesixzero

1,091

ESP32 NFC Mini Record Player - Vinyl Tag Reader preview image

ESP32 NFC Mini Record Player - Vinyl Tag Reader

geroulas profile image

geroulas

255

Smart, Self-watering Plant Pot Planter "Flaura" preview image

Smart, Self-watering Plant Pot Planter "Flaura"

Martin_McMaker profile image

Martin_McMaker

3,808

Heltec v3 case for Meshtastic preview image

Heltec v3 case for Meshtastic

TonyG profile image

TonyG

1,565

NFC Sticker Spender mit integriertem Aufroller preview image

NFC Sticker Spender mit integriertem Aufroller

Yannmarch profile image

Yannmarch

364

Hexagonal Nanoleaf - Hexaleaf preview image

Hexagonal Nanoleaf - Hexaleaf

ElHeisa profile image

ElHeisa

3,238

LED Frame 2.0 (Multiboard) for IKEA SKADIS preview image

LED Frame 2.0 (Multiboard) for IKEA SKADIS

Hawk7 profile image

Hawk7

2,946