Categories
Artificial Intelligence Game Development PC Nerding

Gamedev fun with LLMs, again

Nothing useful in this post, just me rambling with myself while having fun. In the previous post Blazing fast game development using LLMs, I talked about a coding LLM called Codestral. Today I took my time to try the new Qwen Coder 32B from the Chinese tech giant Alibaba. Without pasting lots and lots of code, I wanted to share a couple examples it made.

In the first example I asked for another 2D pygame, this time a planet Earth, the Moon orbiting it, and a player controlled spaceship. The LLM delivered almost coherent code, with the only problem being a mixup with global/local variables and a sprite that rotated in the wrong direction and a request to add sprites, sprites that I shamelessly stole from the web.

As a follow up question I asked to add laser shooting. I ended up having this game.

Categories
Artificial Intelligence Game Development PC Nerding

Blazing fast game development using LLMs

I keep saying it: AI is advancing too fast, not keeping up will make us humans obsolete. While generative AI will not replace a skilled photographer, writer, or programmer, it’s already good enough to replace the hobbyist to low skilled ones. I used photographer, writer and programmer as example as I feel I’m in the hobby-low skilled range in all three categories and I’m sure AI can already replace people at my level. /Rant end

Today I’m sharing my latest conversation with a LLM, specifically Codestral in this case, about game development. I don’t label myself a game developer, I made a few over the years, I participated in Ludum Dare competitions, but it’s not one of my main hobbies.

My conversation started with a simple prompt like this:

Muu?: Don’t waste time talking, only code. Make a pygame pong game.

Codestral: Sure, here is a simple implementation of the classic Pong game using Pygame:

Categories
Game Development

A Flappy Bird clone

I know I missed the Flappy Jam, I didn’t absolutely care about it. I had some time and I decided to make a parody game about the fucks I gave about it. Actually, I neved player Flappy Bird myself and I made this game by copy pasting some graphics and watching a couple Youtube video about the game.
You can play it here. Hope you enjoy.

Flying Fuck Screen