Settings

Theme

Show HN: Roblox Python tower defense game

github.com

1 points by jackdoe a month ago · 0 comments · 1 min read

Reader

If you have kids < 15yo chances are they are playing roblox, and most of the games there are quite brainrotty, so I made this game to teach my daughter some OOP, particularly 'self' vs 'other' and how they get compiled, and demystify methods vs functions.

Basically you program yourself and your robots to defend the "core", the robots can check the gundam's targets and shock them: self.shock(G3.target()) or do things like self.teleport(G3.pos)

You can play it here: https://www.roblox.com/games/92507403623309/Python-Tower-Def...

I might need to finetune the numbers but if you want to modify it just clone the repo and run it locally in roblox studio or just publish your version. Now it is not easy to go past wave 4-5 if you are alone.

The game can also be used to teach what compiling does and how to debug and step through the bytecode.

PS: hard to say "I" made it, as it is all written by opus 4.5 for about a week and 200$ in api calls, but I am having fun playing it, and managed to play a game with my daughter which was lots of fun :)

No comments yet.

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection