CodeX Lucky Charms

CodeX Lucky Charms

March 2, 2026 by Jill Jones

Bring a little luck and excitement to coding with this creative CodeX project! Students use graphics to draw clovers using circles and rectangles, then explore probability and random numbers to build a simple game of chance. Perfect for beginners, students can start with guided code or jump into drawing their own clovers step by step. 🍀

Ready to level up? Optional extensions let students turn their project into a fully interactive game by adding variables, increasing difficulty, and designing custom intro and ending screens — making it a fun way to combine creativity, math, and coding in one engaging challenge.



Join the conversation in the Firia Labs Code Collective (opens in a new tab) to share how your students did!