https://github.com/h1ddenpr0cess20/tetrisnake
a vibecoded Snake/Tetris hybrid
https://github.com/h1ddenpr0cess20/tetrisnake
claude cursor game grok-3 o3-mini-high snake tetris vibecoding video-game webapp
Last synced: 9 months ago
JSON representation
a vibecoded Snake/Tetris hybrid
- Host: GitHub
- URL: https://github.com/h1ddenpr0cess20/tetrisnake
- Owner: h1ddenpr0cess20
- License: cc0-1.0
- Archived: true
- Created: 2025-02-22T16:39:54.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-06-13T01:51:47.000Z (12 months ago)
- Last Synced: 2025-07-30T01:14:33.705Z (10 months ago)
- Topics: claude, cursor, game, grok-3, o3-mini-high, snake, tetris, vibecoding, video-game, webapp
- Language: JavaScript
- Homepage: https://nonagon.app/games/tetrisnake
- Size: 84 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Tetrisnake
Tetrisnake is a blend of Tetris and Snake mechanics, created as a sarcastic response to Elon Musk's AI game mashup ideas. The game was initially developed as a Pygame application with assistance from ChatGPT o3-mini-high and Grok 3. It was later converted to a web application and refined using the same AI tools. Final polishing was done using various LLMs in Cursor, primarily with claude-3.7-sonnet-thinking.
## Description
Tetrisnake combines elements from both classic games:
- Control a snake as it descends through a grid (like Tetris blocks)
- Eat food to grow the snake (like in Snake)
- When the snake collides with the bottom or other blocks, it gets locked in place
- Clear lines by filling them completely (like in Tetris)
- Avoid walls, existing blocks, and the snake's own body!
## How to Play
### Controls
- **Desktop**: Use arrow keys to move the snake left, right, up or down (holding any arrow key accelerates movement)
- **Mobile**: Use the virtual control buttons or swipe gestures on the game canvas
- **P**: Pause the game
- **Q**: When paused, quit to main menu
### Mobile Features
- Touch-responsive virtual controls for mobile devices
- Swipe gestures on the game canvas for direction changes
- Optimized scaling and layout for different screen sizes
- Haptic feedback (vibration) when available
- Auto-detection of mobile devices with appropriate UI adjustments
### Gameplay
1. The snake descends automatically like a Tetris piece
2. Move the snake to collect food and avoid obstacles
3. Each food item eaten increases your score and makes the snake longer
4. When the snake collides with the bottom or other blocks, it becomes locked in place
5. Fill a complete horizontal line to clear it and earn points
6. The game ends when the snake can no longer move or spawns into an occupied space
## Features
- Increasing difficulty as you level up
- Toggle sound effects and background music
- Score tracking and level progression
- Responsive design for different screen sizes