Second 3D game with Grok 3: XForce! A 3d On-Rails space shooter game that features, Grok Voice (Sound on 🔊) and a more realistic space environment with asteroids, enemy ships, speedsters and hyper boost travel.

No coding—just prompts! You can play with the link below.

It all started with a basic 3D world from my previous game https://x.com/elonmusk/status/1893379949672731097

It then evolved into navigating a tube game and a path, which worked well.

After that, I asked Grok to make a pod travel on a line in space with first-person view and other cameras to debug it.

Then I started experimenting with other features.

There’s no API for Grok yet, so I started a conversation with Grok Voice "Ara" and said I wanted voices for my 3D space game.

I recorded the sound from the Grok app to my computer's microphone which gave it a cool radio sound.

Eventually, I kept adding features, and the code grew to over 3,000 lines. I can still ask Grok for more—no context limits hit yet; it simply understands the entire game.

Physics blew me away! Grok made the pod auto-navigate a path while I shoot asteroids & enemies.

Gravity & collisions feel spot-on! Grok’s track generation rocks. It built a Catmull-Rom curve (65 points) & 200+ random asteroids. Endless replay value

Visuals stun! "Add planets, rings, moons, stars—here’s textures," I said. Grok placed spheres, rotating rings, & 20k stars. Space sphere backdrop? Grok coded it perfectly; I only provided textures and images.

I used a free asteroid model, but it felt repetitive. After 10 prompts and deep research, Grok created randomly generated 3D asteroids on the spot using noise and geometry tweaks.

Open-sourcing XForce on GitHub soon! (Follow for updates) Bugs like audio overlap, pod clipping, & level/bullet timing need work. Grok’ll fix them via prompts

Play it on http://xforce.live It works only on high specs desktops for now!