Game Development Instructor at Al Anshar Islamic School — Rafif Sava Adyvka Pratama
Vocational Community OutreachAl Anshar Islamic School, Bogor

Game Development Instructor.

Returned to Al Anshar Islamic School to lead an engaging game development and computational logic workshop for 15+ junior high students. Taught visual programming logic, collision detection, sprite physics, and game loop architecture in Scratch, guiding students to author interactive 2D arcade games from scratch.

Role
Game Development Trainer
Institution
Al Anshar Islamic School, Bogor
Program
SMP IDN Community Teaching Initiative
Audience
15+ Middle School Students
Timeline
November 2022
Platform
Scratch 2D Game Mechanics & Logic
Host InstitutionAl Anshar Islamic School
ScratchGame DevelopmentLogic ProgrammingCollision DetectionTeachingPublic Speaking
2nd Workshop
Return Invitation

Invited back to teach game dev after the UI design workshop

15+ Students
Young Programmers

Middle schoolers learning computational state machines

Custom Games
Shipped Deliverable

Every student built an interactive 2D playable mini-game

Game Loops
Core Logic

Continuous evaluation loops, collision, and score states

01THE TEACHING SPRINT & NARRATIVE

Deconstructing the Game Loop: Teaching State Logic in Scratch

How returning to Al Anshar to teach game development turned abstract conditional statements into tangible, joyful mechanics.

"When you teach a student how to build a game, you're not just entertaining them; you're teaching them how to break an overwhelming problem into small, manageable logic blocks."
Chapter 01

From Static Design to Dynamic Worlds

Having previously taught mobile UI design to these same students two months prior, returning to introduce Scratch felt like a natural graduation from static layouts to living, dynamic systems. I explained that every video game is simply an endless conversation between the player's fingers and the computer: 'Check input, update position, check collisions, redraw screen.' That conceptual framework gave them a structured way to think about logic.

Chapter 02

Overcoming Collision Frustrations

The most common stumbling block was collision handling: students would script an obstacle, only for the character to pass right through it or get stuck permanently. Walking them through condition boundaries line-by-line demystified the bug: 'The computer checks collisions so quickly that if you don't reset the coordinate, it thinks you're still touching it.' Seeing their faces light up when their collision scripts finally registered cleanly was immensely rewarding.

02WORKSHOP CURRICULUM & PILLARS

2D Game Logic Syllabus

A progressive 3-stage curriculum teaching visual programming, continuous game loops, and scoring algorithms.

Module 01Motion Mechanics

Sprite Motion & Continuous Loops

Controlling sprites via keyboard arrow handlers, setting screen boundary wrappers, and continuous forever loops.

  • Forever Execution Loops
  • Arrow Key Input Listeners
  • Edge Bouncing & Coordinate Resetting
Module 02Physics Logic

Collision Detection & State Triggers

Configuring hitbox collision detection between players and enemy hazards, and broadcasting game-over triggers.

  • Touching Color & Sprite Collision
  • Broadcasting State Messages
  • Health / Lives Decrement Variables
Module 03Game Polishing

Score Systems & Game Balancing

Engineering variable score counters, coin collecting mechanics, and tuning speed variables to make games fun.

  • Score Variables & Sound Cues
  • Difficulty Scaling Over Time
  • Winner & Game Over Screens
03PEDAGOGICAL RETROSPECTIVE

Reflections on Logic Teaching

Insights on teaching sequential algorithms through play.

Bugs are Opportunities for Logical Insight

When a sprite behaves unexpectedly, walking students through the sequence of blocks turns frustration into an exciting detective puzzle.

Curiosity is Self-Sustaining

Once a student understands how to make a character jump, they immediately want to figure out how to make enemies chase them. The teacher simply provides the map.

04ON-SITE DOCUMENTATION & ARCHIVES

Classroom Archives & Lab Demos

Visual archives documenting Scratch game programming sessions at Al Anshar Islamic School.

Scratch Game Programming & Loop Demonstration
Lab Workshop

Scratch Game Programming & Loop Demonstration

Teaching game loop sequences, character movement handlers, and collision conditions on the computer lab whiteboard and projector.

What's next

Let's build something.

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

aRafif Sava Adyvka Pratama