Diamond Power Up

← Back to Home

Project Description

I built this one with my 7 years old son, following his prompts. It was greatly satisfying seeing him play a game he created. Try it: collect the squares until you reach size 200 and avoid the stars. The diamond is a power up, but it will flip squares and diamonds.

Initial Prompt

Create and run an HTML page that includes the p5.js script. Build a p5.js app that shows one circle moving around the screen together with many little squares. The circle can "eat" the squares and becomes bigger when it does. After 5 square eaten, 10 more would spawn.

Lessons Learned

  • What worked: A simple, generic prompt generates a playable game with reasonable parameters and difficulty. I also like the graphic style, especially the pulsating red circle, which feels powerful!
  • What needed help: I can't get an entire project, even as simple as this, in Claude free version. I just ran out of tokens or context window.

Project Card

Dev environment: Claude + Cursor

Model: Claude Sonnet (4)

Dev time: 0 hours

My Rating: ♥︎♥︎♥︎♥︎

gamep5.js

Author

Team @ CO-DERS

Team @ CO-DERS

We are building CO-DERS.COM as a gathering place for creators who code. Join us!

Explore Other Projects

Have a Project to Share?

We're always looking for exciting new solo projects to showcase. If you've built something cool, we'd love to hear about it!

Start Your Project

© 2025 Solo Productions ⌘ CO·DERS.com ⌘ All rights reserved.