Game Development & Computational Logic Instructor at Semut-Semut The Natural School — Rafif Sava Adyvka Pratama
IDN Mengajar ProgramSemut-Semut The Natural School, Depok

Game Development & Computational Logic Instructor.

Taught computational problem-solving, 2D sprite mechanics, and game development logic to 25+ students through Scratch at Semut-Semut The Natural School. Leveraged the school's creative, inquiry-based learning ethos to transform mathematical concepts like Cartesian coordinates, velocity, and collision physics into engaging, playable interactive arcade games.

Role
Game Development Trainer
Institution
Semut-Semut The Natural School, Depok
Program
IDN Mengajar Community Outreach
Audience
25+ Middle School Students
Timeline
October 2023
Platform
Scratch 2D Game Mechanics & Physics
Host InstitutionSemut-Semut The Natural School
ScratchGame DevelopmentComputational Thinking2D PhysicsCartesian GeometryPedagogyInteractive Learning
25+ Coders
Young Game Creators

Students engaged in gamified computational thinking

2D Physics
Applied Math

Collision vectors, gravity loops, and coordinate math

100% Playable
Original Arcade Games

Every student built and playtested their own obstacle game

Peer Playtest
Collaborative Review

Students swapped keyboards to test and debug each other's games

01THE TEACHING SPRINT & NARRATIVE

Turning Curiosity into Playable Code: Gamifying Algorithmic Thinking

How video game development served as the ultimate Trojan horse for teaching rigorous mathematics and logical problem-solving to creative middle schoolers.

"Kids don't want to memorize dry mathematical formulas; they want to see their sprites jump, dodge obstacles, and celebrate a high score. Game development gives algorithms an immediate, joyful purpose."
Chapter 01

Aligning with an Inquiry-Driven School Culture

Semut-Semut The Natural School has an extraordinary culture rooted in experiential learning, curiosity, and creative expression. Walking into their computer lab, I knew that traditional didactic lecturing would completely miss the mark. Instead of defining abstract programming terms like 'Cartesian planes' or 'iteration loops,' I opened Scratch and asked a simple question: 'If we want this sprite to fall with gravity and jump when we press space, what rules must exist in this world?' Immediately, hands shot up with ideas about speed, ground levels, and bounce heights.

Chapter 02

Deconstructing Physics into Visual Mechanics

We systematically translated their intuitions into algorithmic blocks: modifying $Y$-coordinates by negative numbers to simulate gravity, setting conditional checks for when the sprite touched ground color, and spawning moving obstacles along the $X$-axis. When students saw their sprites respond smoothly to keyboard arrow inputs, the connection between math and interactive gameplay became unmistakable.

Chapter 03

The Joy of Peer Playtesting and Iterative Tuning

During the final workshop block, the classroom turned into an energetic arcade showcase. Students swapped laptops to play each other's custom obstacle courses, discovering edge cases like sprites getting stuck in walls or scores increasing infinitely. Rather than feeling discouraged by bugs, they eagerly raced back to their block scripts to tweak velocity values and fix logic errors. That intrinsic drive to refine and improve is the truest spirit of engineering.

02WORKSHOP CURRICULUM & PILLARS

Scratch 2D Game Development Curriculum

A gamified 4-module progression translating fundamental physics and algorithmic logic into playable arcade mechanics.

Module 01Geometry & Movement

Cartesian Coordinates & Sprite Motion

Understanding screen coordinate grids ($X$ and $Y$ planes), directional angles, keyboard arrow controls, and smooth sprite locomotion.

  • The 480x360 Pixel Coordinate Grid
  • Arrow Key Listeners & Directional Rotation
  • Boundary Bouncing & Edge Detection
  • Costume Animation Cycles
Module 02Game Physics

Simulating Gravity & Jump Mechanics

Engineering velocity variables, continuous gravity pull loops, ground platform detection, and jump arc algorithms.

  • Velocity Variables ($Y$-Speed)
  • Platform Collision Guards
  • Spacebar Jump Triggers & Momentum
  • Preventing Double-Jump Glitches
Module 03Game Mechanics

Obstacle Spawning & Collision Detection

Creating infinite obstacle scrolling, random height generators, and game-over conditional checks when players touch hazards.

  • Cloning Obstacle Sprites Automatically
  • Random Number Generation for Gap Heights
  • Hitbox Collision Detection
  • Broadcasting Game-Over States
Module 04Polishing & Testing

Score Systems, Sound FX & Peer Playtesting

Adding score increment trackers, high-score variables, dynamic sound effects, and conducting peer playtesting feedback loops.

  • Score Variable Increment Loops
  • Sound Effects & Background Chiptunes
  • Difficulty Scaling Over Time
  • Peer Playtest Feedback & Balancing
03PEDAGOGICAL RETROSPECTIVE

Pedagogical Reflections from Semut-Semut

Reflections on channeling playful energy into rigorous thinking and the power of peer playtesting.

Play is the Highest Form of Research

Framing programming as building a video game completely removes the fear of failure. When an algorithm breaks, children don't see an error—they see a game glitch they want to fix.

Peer Playtesting Drives Genuine Code Review

Watching a classmate struggle with a bug in your game creates an immediate, natural desire to refactor logic that no grading rubric can replicate.

Clear Constraints Foster Wild Creativity

Giving students a fixed set of physical rules (gravity, obstacles, score) allowed them to personalize themes, characters, and storylines with astonishing imagination.

04ON-SITE DOCUMENTATION & ARCHIVES

Classroom Archives & Game Demos

Capturing energetic game design sessions, interactive logic troubleshooting, and student playtest showcases at Semut-Semut.

Visual Game Mechanics & Coordinate Lecture
Lab Workshop

Visual Game Mechanics & Coordinate Lecture

Demonstrating sprite animation cycles, jump vectors, and Cartesian coordinate math on the main projector screen.

Hands-on Game Logic Debugging
Mentorship

Hands-on Game Logic Debugging

Helping students configure collision detection scripts, velocity variables, and score counters on their laptops.

Peer Playtesting & Feedback Sprints
Collaboration

Peer Playtesting & Feedback Sprints

Students testing and reviewing each other's custom 2D arcade games during the final interactive lab session.

Cohort Celebration & Group Photo
Class Showcase

Cohort Celebration & Group Photo

Celebrating a joyful and productive game development workshop alongside school teachers and the student cohort.

What's next

Let's build something.

Recruiting, contracting, or just curious — the inbox is open.

aRafif Sava Adyvka Pratama