Dan
Dan
@Daniel_Farinax
Jan 6 โ€ข 8 months ago โ€ข 11 tweets โ€ข Read on X

๐Ÿš€ I built one of the first 3D single & multiplayer game with Grok 3! Think 3D movement, raycasted worlds. Hereโ€™s the journey

It started 1 week ago with a wild idea: a 3D game powered by AI. I tried Claude and o3-mini first, but hit walls within hours. They couldnโ€™t handle the complexityโ€”too limited by output tokens and context. Even small changes to working code confused them fast.

Then came Grok 3. The gameโ€™s ~3,000 lines of code (minus libraries, configs, etc.) Grok understands it all. Other models choke past 1,000 lines. This was the 3d game-changer.

Tweet image 1

Whatโ€™s in the game?
Collect speed boosters & ammo cores while dodging AI bots. Grok scripted patrol paths, collision detection, and a health system. It also created an algorithm to generate the cities automatically after some deep research.
Solo play feels alive now.

Next, I added multiplayer. Grok synced player positions and shots across clients. After a few hours of tweaking, 2-player deathmatches were live! Includes a login system and character selector too

The game includes a character selector and a few other ui items.

This runs on an Express server with WebSockets streaming the data. Hereโ€™s the high-level architecture:

Tweet image 1

Whatโ€™s next?
- Public version for everyone to play and learn from
- Polish animations, boost game quality.
- Add DeFi integrations
- Better maps
Grok 3 made this possibleโ€”Thoughts? Want to try it?

Update demo of multiplayer in action:

@Daniel_Farinax
With Grok 3 from @xAI, I built synced multiplayer maps using seeded Perlin noise for natural terrain. Powered by fractal noise and Three.js, watch random maps align perfectly for both players in this video! https://t.co/0AkeOJh2Yh

I added a teleporting channel and more features today:

@Daniel_Farinax
I asked @grok to create a teleporting hole for the 3d game, and this is what I was able to do in about 20 minutes of attempts. https://t.co/IOqVNBwFHH

UPDATE:
Here is another 3D game I finished today. You can play now. it features Grok's voice ๐Ÿ˜…

@Daniel_Farinax
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. https://t.co/WnuoqO6Vl5

Missing some Tweet in this thread? You can try to Update

More Threads by @Daniel_Farinax

1 tweets โ€ข 5 days ago
Read Thread
2 tweets โ€ข 5 days ago
Read Thread
2 tweets โ€ข 17 days ago
Read Thread
1 tweets โ€ข 17 days ago
Read Thread
1 tweets โ€ข 18 days ago
Read Thread

Unroll Another Thread

Convert any Twitter threads to an easy-to-read article instantly

Have you tried our Twitter bot?

You can now unroll any thread without leaving Twitter/X. Here's how to use our Twitter bot to do it.

  • Give us a follow on Twitter. follow us
  • Drop a comment, mentioning us @unrollnow on the thread you want to Unroll.
  • Wait For Some Time, We will reply to your comment with Unroll Link.
UnrollNow Twitter Bot
Modal Image
0:00 / 0:00