glunty academy
glunty // Cursor lessons
Build a real game you can play
Design your own catch game, let Cursor build it in real code, then change one number to see how games really work.
takes 8 seconds
Save your work, or lose it.
You can use everything without an account. Sign in to keep your progress on any device and post what you make to the class wall.
You are signing in to glunty.com. A Google or email window opens for a second, then brings you right back here.
- Finish the step above first01
Name your game
Every game starts as an idea in your head. Let us pull yours out.
Think of a catch game: something falls, you try to catch it.
Type a name plus a few words about it, like: Bucket Rain, catch the drops before they splat.
- Finish the step above first02
Pick what you control
In your game, YOU move one thing along the bottom of the screen.
What is it, and what does it look like? A red bucket? A cat? A spaceship?
Type the thing you control and its color or shape.
- Finish the step above first03
Choose what falls
Now the fun part: what drops from the sky for you to catch?
Raindrops, coins, pizza slices, stars? Pick your thing and its color.
Type the falling thing and how it looks.
- Finish the step above first04
Make the rule
A game needs a rule, or it is just stuff moving around.
What do you get for catching it? What happens when you miss?
Type your scoring rule, like: plus 1 for a catch, lose a life if it hits the floor, 3 lives.
- Finish the step above first05
Open Cursor
Cursor is a free code editor with a robot helper built in. It writes real code for you.
Download it from the button, open it, and make a new empty folder for your game.
Type the name of the folder you made.
Open Cursor (new tab) - Finish the step above first06
Give Cursor your plan
Open the chat box in Cursor, where the robot helper lives.
Copy the prompt below. It has all of YOUR choices baked right in. Send it.
When the code appears, look at the file Cursor made and type its name.
what will really happenOpen Cursor (new tab)Cursor writes real code, but the first version often has a bug or looks plainer than you pictured.
It may name the file or the fallSpeed variable differently than the prompt asked.
You might have to say 'it does not run' and let it fix its own mistake - that is normal.
You are a friendly game developer who builds tiny browser games for total beginners. Build me a game called "[game_name]" in ONE file named index.html. How it plays: - I control [player]. It moves left and right when I press the arrow keys. - [faller] falls from the top of the screen, one at a time, at random spots. - The rule: [scoring] Please follow these rules so a beginner can read and change the code: - Put everything in ONE index.html file. Use plain HTML, CSS, and JavaScript. No libraries and no internet. - At the very top of the script, make a variable named fallSpeed with a comment that says "change this number to make it faster or slower". - Show the score on the screen in big text. - Add a button that restarts the game. - Keep the code short and add simple comments so a kid can understand each part. - Make it work by just double-clicking the file. - Finish the step above first07
Play your game
In Cursor, save the file, then open index.html in your web browser.
Use the arrow keys. Catch some. Miss some. It is REAL and it is yours.
Type the first score you got.
hold on - judge it, do not celebrate- Is this the game you imagined, or just the first thing Cursor built?
- What is the ONE part that feels generic - the plain box, the colors, the speed?
- What would you change to make it feel more like YOUR game?
- Finish the step above first08
Find the secret number
Go back to Cursor and read the code. Near the top is a line about fallSpeed.
That one number decides how fast things drop. Code is just rules you can read.
Type the number you see next to fallSpeed.
- Finish the step above first09
Change one number
Pick a new number. Bigger means faster and harder. Smaller means slower and easier.
Type your new number over the old one, then save the file.
Type the new number you chose.
Did you try more than one fall speed, or stop at the first change?
- Finish the step above first10
Feel the difference
Refresh your game in the browser and play it again.
Whoa. You just changed how the whole game feels with ONE number. That is what a developer does.
Type what changed when you played.
- Finish the step above first11
Build your game spec
Real developers write a spec: a plain-English plan of the game.
Press the button to turn all your answers into a clean spec sheet.
Save it. You can paste it back into Cursor later to build version 2.
Do the steps above and your Build my game spec shows up here. - Finish the step above first12
Show the world
You designed it, built it, and changed it. Time to share your creation.
Post your game spec on the class wall with the tag #Glunty.
Then dare a friend to beat your high score.
The class wall - share yours
Loading the class wall...
Sign in up top to post yours. You can read everyone else's right now.
You are a game developer now.
You dreamed up a game, read the real code that runs it, and changed how it feels with a single number. That is how every game you love got built - one rule at a time.
lazy vs yours
Anyone can type 'make me a game'
The lazy way: type 'make me a game' and paste whatever pops out. Every kid who does that gets the same boring gray box with a gray square.
Your way: you already picked the player, the thing that falls, and the rule. Cursor just builds it. The game is yours because the ideas are yours.
first time here?
Here is how it works
- Tap Copy to grab the words.
- Tap Open to go to the tool. Paste it there.
- Come back. Type what happened in the box.
- Tap I did it. The next step opens up.
One step at a time. You have to do each one to unlock the next. Ready?