DEV Community

Cover image for ๐ŸŽƒ The Curse of the Pumpkin โ€” An Interactive Halloween Tale
Wesley Bertipaglia
Wesley Bertipaglia Subscriber

Posted on

๐ŸŽƒ The Curse of the Pumpkin โ€” An Interactive Halloween Tale

Frontend Challenge Perfect Landing Submission ๐Ÿฆ‡๐ŸŽƒ

This is a submission for Frontend Challenge - Halloween Edition, Perfect Landing


๐Ÿ‚ What I Built

I created โ€œThe Curse of the Pumpkinโ€, an immersive interactive storytelling experience set in the haunted village of Oakhaven.
Itโ€™s a Halloween-themed choose-your-own-adventure web game where every decision shapes the playerโ€™s destiny โ€” inspired by the eerie legend of Stingy Jack, the man who tricked the Devil and cursed his soul to wander the earth with a flickering pumpkin lantern.

Players explore misty fields, cursed forests, and ancient ruins, guided by choices that test their courage, logic, and morality. The narrative adapts dynamically โ€” no two journeys through Oakhaven are the same.


๐Ÿ•ธ๏ธ Key Features

  • Interactive Storytelling โ€” A fully branching narrative filled with mystery, consequence, and Halloween atmosphere
  • Player Stats System โ€” Track and influence four core stats: Life, Attack, Defense, and Guts
  • Multiple Story Paths โ€” Choose between the Path of Embers (reckless and puzzle-driven) or the Path of Roots (defensive and diplomatic)
  • Dynamic Consequences โ€” Each decision alters your stats, unlocks unique story branches, and changes your fate
  • Multiple Endings โ€” Face the final curse in several distinct epilogues
  • Multi-Language Support โ€” Play in English, Spanish, or Portuguese
  • Immersive Audio โ€” Rustling leaves, crackling fires, and spectral whispers powered by Tone.js
  • Responsive Design โ€” Seamlessly playable on desktop and mobile
  • Story Navigation System โ€” Revisit past decisions to explore alternate paths

โš™๏ธ Technical Implementation

Built entirely with modern web technologies focused on performance and immersion:

  • Framework: Next.js + React + TypeScript
  • Styling: TailwindCSS (custom dark harvest theme ๐ŸŒ‘๐ŸŽƒ)
  • UI Components: ShadCN UI + Radix UI Primitives
  • State Management: React Context for game flow and player stats
  • Audio Engine: Tone.js for procedural ambient soundscapes
  • Internationalization: JSON-based locale system with contextual language switching

๐ŸŒ• Demo

Live Demo:
๐Ÿ‘‰ https://course-of-pumpkin.vercel.app/

GitHub Repository:
๐Ÿ‘‰ wesleybertipaglia/course-of-pumpking


๐ŸŽƒ Title Screen โ€” โ€œThe Lantern Awakensโ€

Title screen

๐ŸŒ‘ Story Interface โ€” Choices and Stats in Action

Story interface and stat meters

๐Ÿช” Branching Paths โ€” The Moment of Choice

Choice selection and narrative branching


๐Ÿ•ฏ๏ธ Journey

The project began with a single spark โ€” what if the soul of a cursed pumpkin guided your fate?
From that seed grew a web-based interactive tale blending folklore, player agency, and modern frontend development.

Drawing from Halloween traditions and Celtic folklore, I wanted to recreate the feeling of reading a spooky story by lantern light โ€” one where every choice burns brighter or dims the flame.


๐Ÿ”ฎ Development Highlights

  • Designed a branching story engine supporting stat-driven conditions and narrative loops
  • Built a stateful player system for dynamic outcomes and replayability
  • Developed a multi-language architecture maintaining tone across translations
  • Used Tone.js to craft haunting soundscapes
  • Focused on accessible UI and responsive layouts for every device

๐Ÿ What I Learned

This project deepened my understanding of interactive storytelling architecture, React state management, and internationalization.
It also reinforced the importance of accessibility, performance, and emotional pacing in user-driven experiences.


๐Ÿ•ฏ๏ธ Whatโ€™s Next

Future improvements may include:

  • New story branches and secret events
  • Expanded sound design and subtle visual effects
  • Support for community-created story packs

๐Ÿงก Final Thoughts

Iโ€™m especially proud of how choice and consequence intertwine in this project โ€” where courage, fear, and curiosity truly matter.
Every flicker of the lantern feels earned, every branch of the story deliberate.
Itโ€™s my tribute to the timeless magic of Halloween nights, where pumpkins glow, spirits stir, and stories come alive.

Top comments (2)

Collapse
 
rogeriorioli profile image
CarlosRogerio Orioli

AMAZING ๐Ÿ‘๐Ÿป๐Ÿ‘๐Ÿป๐Ÿ‘๐Ÿป๐Ÿ‘๐Ÿป๐Ÿ‘๐Ÿป๐Ÿ‘๐Ÿป

Collapse
 
wesleybertipaglia profile image
Wesley Bertipaglia

Thank you so much ๐Ÿค