Edit Template

Butterfly Game

This project is a browser-based arcade game where players control a butterfly moving through a meadow while avoiding obstacles and collecting resources to increase their score.

ROLE: Developer

FOCUS: Game development, player movement, and collision detection 

TECH STACK: p5 JavaScript library, GitHub

TIME FRAME: August 2024

Overview

screenshot 2026 05 25 at 1.11.19 am

The goal of this project was to create a simple but engaging browser game using the p5.js library. Players control a butterfly navigating through a scrolling meadow environment using keyboard controls, collecting resource items that increase score, and avoiding obstacles that end the game. This project was produced as part of the Girls Who Code Summer Immersion Program for game design. 

Contributions

screenshot 2026 05 25 at 1.16.21 am

My responsibilities / contributions: 

  • Developed the game using the p5.js JavaScript library
  • Implemented player movement using keyboard input for gameplay interaction
  • Implemented collision detection to track interactions between the butterfly sprite, collectible resources, and environmental obstacles
  • Implemented scoring mechanic to update based on collected resource sprites during gameplay
  • Organized and managed project through GitHub for hosting and management