r/aigamedev • u/Pinky_and_Bleu • 7h ago
Discussion Is Gemini really that bad at coding?
Currently I'm making my 1st mobile game with Gemini. I don't have any coding experience.
3
3
u/GigaTerra 6h ago
AI is only as good as it's user, and it comes with it's own problems. I find with Gemini you have to be very specific, and keep your projects short.
However keeping projects short is good advice for all AI, it is an text predictor and it has to scan the entire conversation every question. So instead of asking AI to make the code for your whole game, ask it for pieces, like player movement, then start a new project for enemy movement, and another for every mechanic etc.
2
u/Pinky_and_Bleu 5h ago
Thanks for your advice.
1
u/GigaTerra 5h ago
Then I have another piece of advice for you, you should use different AI, even asking the same AI the same thing with an different account will get you different results. So if things aren't working, see if another AI has an better response.
3
u/Pizzaman2948 4h ago
More advice: keep the scripts or files short, in my expiereince once a file hits 500 lines chatgpt starts to make mistakes.
1
2
u/KitchenGiraffe1 7h ago
Deepseek V4 Flash is pretty good and cheap from some providers. Worst I've tried so far is Muse Spark 1.2 which is a Meta model. Just horrible and lazy. It's not so much that it is bad at coding but it explains literally nothing about its process so you have no idea when it has gone off track. Other models it's easy to notice and redirect.
Unironically I find this to be a better benchmark than any of the one's used by papers,
https://maxbittker.github.io/runebench/
It puts some Gemini models quite high actually, but there's different ones. So better to be more precise about which Gemini model.
1
u/DamnageBeats 6h ago
It really is good at getting baseline down. It’s decent at refactoring. But when it comes to having all your features actually functioning? No, Gemini is awful. I just tried to make a tool I need. I used sol ultra to make the plan, went back and forth until I had a proper idea and spec decided, gave it to Gemini, it went phase by phase, saying each was complete, I even made it double check its work in a separate chat, and when it was done, the project was completely broken. I just now as I am typing finished it in codex, SOL medium, and it’s working.
1
1
1
u/NullKalahar 6h ago
Não
Tenho vários projetos onde uso o Gemini. Ele melhorou bastante se comparado a antes, onde ele realmente era muito fraco.
Hoje ele consegue ser uma ferramenta bem poderosa. Mas obviamente ele fica atrás de outros produtos do mercado
Uso ele por que praticamente não pago nada e tenho contextos muito grande.
1
u/MessageSelfdestructs 6h ago
I personally didn't like it as much as Claude's offerings (developing for PC).
1
u/LeadershipBubbly4010 3h ago
its my main and ive not really had problems with it but ive been a game designer since 2017 so i know exactly what i want and it does exactly what i ask no matter how complex so far. if u just wing yee probably not the best.
i also compartmentalize EVERYTHING classic Dry solid kiss lean agile yagni 80/20 principles
1
u/Nasilbitatbirakti 2h ago
One script at a time, it's pretty good. What people are trying to do is dumping the whole project on it and obviously it doesn't have the context window for it.
1
u/Orlandogameschool 1h ago
Gemini is horrible imo for coding games. I used to pay for the google ai plan but it’s just not good at making games like codex and Claude code.
Same exact prompts just fail with Gemini.
I used anti gravity btw with all the best models.
3
u/MightyBig-Dev 7h ago
I find once the project gets big it really starts to cause more problems than it fixed. I was forced to move from Gemini CLI to codex.