// Detect if using a touch device function isTouchDevice() { return 'ontouchstart' in window || navigator.maxTouchPoints > 0; } // Show mobile controls only on touch devices if (isTouchDevice()) { const mobileControls = document.querySelector('.mobile-controls'); if (mobileControls) { mobileControls.style.display = 'block'; } }
Stack blocks and clear lines in this addictive classic puzzle game!
Tetris is one of the most iconic puzzle games of all time. The objective is simple: arrange falling pieces (Tetriminos) to create complete horizontal lines. When a line is completed, it disappears, giving you more space to work with and earning you points. The game ends when the Tetriminos stack up to the top of the playing field.
Use the arrow keys to move the falling Tetriminos. Left and right arrows move horizontally, while the down arrow speeds up the descent. Press the up arrow to rotate pieces. The goal is to create complete horizontal lines, which will disappear and earn you points. As you progress, the pieces fall faster, increasing the challenge!
HTML5 games like Tetris offer seamless gameplay across all modern devices without requiring any plugins or downloads. They're perfect for quick gaming sessions during breaks or when you need a fun distraction.
Explore More Games