Block Busters
A student-built AI game by Jia Zheng with custom characters, mechanics, and block-smashing gameplay.
Details
Why I built this
Jia Zheng started by exploring an AI-generated game, then used prompts and code edits to turn it into a more personal block-smashing game with custom mechanics, weapons, and player ideas.
Bugs and breakthroughs
- Learned that specific prompts create better results than broad instructions.
- Practiced reading JavaScript variables so he could change how the game behaves.
- Moved from just accepting the first AI output to planning improvements and fixing bugs.
Proud code
const BLOCK_COUNT = 2;
const BLOCK_MIN_HITS = 5;
const BLOCK_MAX_HITS = 15;
const SPEED_BOOST_MULTIPLIER = 2.5;
Changing these values helped Jia Zheng test how difficulty, speed boosts, and block behavior affect the feel of the game.