News for hackers. Stuff that matters.
Re:Show HN: Shehzadi in Peril – My first ever game by patrickscoleman on Tuesday September 03, 2024 @02:50PM (#41437851)
So fun, thanks for sharing! I'm feeling some nostalgia. The first game I ever made was also an ant defense game. You use a magnifying glass to protect your tomato at a picnic. As you get to later levels, the ants get bigger and the sun starts to set, so you have to buy upgrades.

I wrote it in Java in high school back in 2006. The site I hosted it on in high school is no longer live. I put it on Replit a few years back, but I no longer have access to the account, so I had to fork the repl to play it again. Things change. Hold on to your code. It's fun to revisit old programs!

If you want to give it a try: https://replit.com/@PatrickAtReplit/Ant-Killer-Game.

Re:Show HN: Shehzadi in Peril – My first ever game by sh4jid on Wednesday September 04, 2024 @12:49PM (#41447859)
Thank you so much for trying it out!

I tried to fork and play your game but having very little experience with Java, I couldn't run it! Do I need to download it and run locally?

Re:Show HN: Shehzadi in Peril – My first ever game by patrickscoleman on Thursday September 05, 2024 @03:33PM (#41459732)
Here's how to play: https://www.loom.com/share/14f8d6d097ef41319285cb6dd404a109?...

Java is a bit of a pain. It's a compiled language, so if you make any edits to the .java files you'll need to run a command in the shell to generate a new .jar file and then run that.

Enjoy!