Library

Video game

Home run at the play

A timed batting game on a neighborhood play, the local ballfield, where every pitch arrives with a different spin.

20 min Level 1 · First attempt 10th · 11th Prompt

  • #Baseball
  • #Neighbourhood and Dominican culture
  • MLB
Make it yours

Fill in the spaces and watch it change

Load a variant
Your prompt, live

Create a browser baseball game where you only bat. The scene is a dirt ballfield with a mango tree in center field, seen from the side, drawn with simple shapes. The pitcher throws the ball and the player presses the space bar to swing: press at exactly the right moment and it is a home run; too early or too late and it is a foul or a strike. Every pitch arrives with a different effect: a fastball, a curve that drops at the end and a slow one that seems to stop in midair. After 3 strikes the turn ends and the home-run count appears. When there is a home run, the ball knocks down a mango and the neighborhood kids run off to grab it. The characters are made-up figures, with no names of real ballplayers.

3 fields are missing: they will be copied with the examples. The examples are fine to start with, but your own details are what make the piece yours.

Where it is made: A tool that generates code for browser games, the one your Learning Facilitator set up for the Unit.

How to personalise it
  1. Measure it: play five turns and tell the tool whether it is too easy or too hard, with a number (“I won 5 out of 5”).
  2. Add a pitch that only exists on your ballfield, with its own name.
  3. Ask for a scoreboard that remembers your best turn while the tab stays open.
Did it work?
  • C1: batting feels fair: you win by timing, not by luck.
  • C2: the ballfield has a detail that is from here.

And at the end: did the prompt get better, or did the question?

Share it

Back to the library

Comprehensive AI learning designed for educators, by educators. From awareness to mastery.