Host an App Built with AI on HCode: How I Made My Silly Little Game

_Ryan_

Host Africa
Company Rep
Joined
Jan 11, 2023
Messages
23
Reaction score
14
It's called Citi Racer, and it runs on HostAfrica's HCode platform.
It was my first attempt and I had alot of fun with it!

You ride a motorbike along a Cape Town highway, with Table Mountain ahead and the ocean alongside. The goal is simple: collect as many shells as possible, dodge traffic, and survive for as long as you can. The best part? I did the whole thing on HCode. From building the game and hosting it to setting up a database and deploying updates, everything happened in one place. I used Claude as my AI assistant, connected directly to HCode.

Get Started with HCode and Claude​

HCode is HostAfrica's all-in-one platform for building, deploying, and running projects of all kinds, from websites and applications to APIs, background services, and databases, without having to manage the underlying infrastructure yourself.
I'm using the Solo plan, which gives me 3 projects, 1 GB of memory, and 1 database.
Connecting Claude is straightforward. Your AI assistant can then work with your HCode environment.

Build the Game​

I started with a simple prompt asking Claude to create a motorbike game set on a Cape Town highway.
Claude generated the game and deployed it to HCode. Within minutes, I had something I could play.
Then came the fun part: improving it through conversation.

Add a Leaderboard​

I wanted players to compete for high scores. I wasn't sure how to do that, so I just asked Claude.
Claude set up a PostgreSQL database, built a small server to save scores, and deployed the updated game.
It could also inspect logs and troubleshoot issues directly through HCode. In all honesty, though, there wasn't much to troubleshoot.

Then I Added Some South African Chaos​

I kept adding local touches:
  • A taxi in your lane.
  • A car with one headlight.
  • A traffic officer hiding behind a bush.
  • A port-a-loo on a trailer.
  • A slow car in the fast lane.
  • A burnt-out bus.
The result is a slightly ridiculous Cape Town road trip, complete with Table Mountain and ocean views. And, naturally, a goat.

What I Learned​

The impressive part wasn't just that Claude could write the game. It was the entire process.
Vibe coding. I could describe an idea, have Claude build it, deploy it, test it on my phone, and ask for changes.
And I could do it all on HCode, without managing a collection of separate services or writing code myself.

What next?​

My chief play tester, (AKA my 10 yo boy) has decided he has a game that would be better than mine.
So I gave him the keyboard, and the results.. wonderfully unexpected. (He made a horror game...)

Give It a Try​

With HCode, you have one place to build, deploy, and host an app built with AI. Connect your AI assistant, describe what you want to create, and start experimenting.

Build it, deploy it, and run it all on HCode.

Visit hcode.hostafrica.com to get started.

And do share your projects!
 

Attachments

  • IMG_4108.jpg
    IMG_4108.jpg
    160.2 KB · Views: 4
  • connect.png
    connect.png
    23.9 KB · Views: 4
Right on schedule... every day, the same time, these vibe coders come out to advertise their AI slop.

@rustypup let's sing.

We are slopping, you are slopping.... AI slop-ity slop
We are slopping, you are slopping.... AI slop-ity slop
We are slopping, you are slopping.... AI slop-ity slop

Can't make a living the good old fashioned way, so we slop

We are slopping, you are slopping.... AI slop-ity slop
We are slopping, you are slopping.... AI slop-ity slop
 
I understand your point of view.

Just to clarify, HCode isn't an AI tool. It's an application hosting platform. I'm simply sharing how I connected it to Claude to build something that, until recently, would have been well outside my own development capabilities.

Most users on the platform are running actual applications, websites and services. This was just a fun little side project and an opportunity to demonstrate what's possible.

I loved Road Rash growing up, and making my own Cape Town version was a lot of fun.

Anyway, have a great weekend!
 
How does it feel to be dethroned from top of your own leaderboard? :P

The collision detection needs some major work, as a car can be well off the bottom of the screen but you still get "scraped."

Zero interest in hosting apps, but had a few minutes of fun playing yours :P

1794579145609.png
 
Had a laugh at the bloody Hadada.

Collision detection is dodgy from behind for sure and the leaderboard is broken as I had a Top10 score but it doesn't show up.

But good effort.

As someone who literally rides a bike into Cape Town on the N1 it was fun for five minutes.

Out of interest what did it cost you in Claude credits?
 

​

Progenix. While I'm a gamer, I'm not a very good gamer. Currently busy with Cult of the Lamb and its' hard!
Collision detection needs work, thank you for the input.
 
SauronNZA. Thanks for giving it a go! Needs work, and on to your next point.
I dont have usage per project. I was able to redeploy about 6 times then my daly limit ran out.
So, watching the clock to effect those fixes.
 
Top
Sign up to the MyBroadband newsletter
X