Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

Using AI like deepseek as a goto assistant for some help.

A topic by twoturkeyneckgames created 59 days ago Views: 1,078 Replies: 30
Viewing posts 1 to 13
(+1)

Has anyone used AI like deepseek or even chatgpt to assist in writing code? I have and to be honest I think AI assistants like deepseek are an incredible resource if needed. deepseek is supposed to be more intuitive and helpful in writing classes or methods for Unity c#, and I have tried them both. And I found that deepseek is the better choice for being so much more helpful.

I mean, if you have an idea you want to implement and your not shure what to do, you could ask a fellow coder for assistance, but then they might scratch their head also while your scratching your's to figure out how to do the thing you want. Then you both work on it, trial and error and a week or so goes by and you figure out some method that works, but the time it took to come up with a solution took away time from the rest of the games development and not only for you, but kept your fellow coder's time away from what they were working on.

I had an idea where i have a compass in the upper right of the screen, it's a circle compass, with direction letter's of N,E,S,W to indicate what direction the player was headed, and they rotated around that rect. But in the middle circle was a rear view camera image of what is behind the player. So, ok.. I wrote most of the c# code to make that happen and it worked fine. But I have about 240 objectives scattered around the game map that the player must pick up, and I wanted to show them around the compass ring. And if those obj's were farther away they would show up smaller in scale to indicate that. Plus there is only one enemy who hunts down the player, and I needed the icon for that enemy to also show up somewhere in the compass ring.

I was not about to ask a friend coder to help me on that. That's a lot of math and angles, and most important TIME. could take day's, maybe a week or two.

So i turned to deepseek AI, and i told it exactly what i wanted, and in around 20 seconds or less, it posted the code i needed to do it. That code needed ajustment from me, with my added code it worked flawlessly and efficiently, and it even recomended way's to make it more efficient like pooling the instantiated objective icons and a lot more info I did not think about.

In the end, my compass improvement's are working flawlessly with help from deepseek, and it only took around 2 hour's with ajustments and new code from me to make it work.

My game idea is riddled with around 50 plus scripts, and I wrote them all, and deepseek has added around 2% of it's own scripts to my project, but I do not regret using it. deepseek has reduced my developing time considerably. And I will use it again when I need help with any new issue.

AI is a funny topic. Am I cheating? or using an incredibly helpful resource? 

(+3)

by the end of the day what you are really using is a helpfuk tool that can expand your game mechanics there is no cheating just helpful tool usage aka the ai in question

(+10)

If you use AI to make games you're a lazy hack and a plagiarist. Do it the right way, learn how to code for yourself. That's how it's been done for decades. You'll be learning a new skill and improving yourself. Besides, AI can't code well at all, you'll get a broken mess that'll need a ton of time to fix. Just don't do it.

(+1)

(+1)

I need to ask, do you actually make games? or just make posts on games.

(+1)

I disagree. Instead of manually checking all your code for mistakes using ai such as Gemini can do it for you in a span of a second.  

(+10)
Am I cheating?

Let me ask you this: If a basketball player has a machine that pushes them around the court and shoots the ball for them, are they cheating? Or just "using an incredibly helpful resource"?

(+2)

Tell me, do you also compile your code into CPU/GPU commands manually? Otherwise, it's cheating, right? And is syntax highlighting in the code editor considered cheating? And if I use other people's textures instead of drawing them myself - is that cheating too?

I think you got carried away ))

(+4)

You're getting carried away with incorrect analogies. None of the things you mentioned are in any way similar to an LLM. You don't just ask a compiler to compile any old code. You give it specifically formatted code and it returns predictable output. Syntax highlighting is also a linear, automated process that is specific and predictable. As for using other people's textures, yeah if you stole them and used them without permission, absolutely cheating, obviously.

The things you mentioned are just tools. LLM is not just a tool, it completely replaces (or aims to replace) you as a creator. It also spits out wrong answers, something every techbro loves to ignore. Compilers don't just randomly compile your code in a different way. Highlighting doesn't happen differently because the thing made a different statistical calculation today vs yesterday. Calculators don't mess up unless they are broken.

Using AI isn't the same as using a tool such as a table saw. A table saw is a tool that makes it easier to cut in a straight line. The equivalent to AI would be a machine that, you drop a piece of wood in, say "make me a chair", and then it makes potentially a chair (but maybe not). You can't tell me the person who uses that is a carpenter. They are simply using the Automagical Carpentry Machine and feeling real proud of themselves for being able to push the button.

(+3)

To add to that analogy, that Automagical Carpentry Machine also stole the design and clubbed a baby seal just to maybe make a chair. With six legs and no back.

(1 edit)

it'wrong,the people who told ai what kind of chair is you, but not itslef,so,you are just using a tool to create the thing in your mind. you are a creater but not a stealer

(+4)

It's using an incredibly helpful resource. It isn't about wowing people with your advanced code that no one will care about, but the end result and mechanics that you've made. If you're already a competent coder, ai will act as an enhancer. You mentioned that you had to adjust the code yourself to get it to work exactly how you wanted it to. 

To reply to the other fellows in this comment section:

No, it's not at all the same thing as pushing a ball throwing machine, since again, you're not being judged by the quality of your code like a basketball player would be by his ability to shoot 3 pointers. You're being judged by if the game works or not. 

Yes, it is ALWAYS helpful to learn more about coding if you have the time. Why not? But if you're not using AI due to feeling bad about it, you're just slowing yourself down. You know enough to make adjustments if needed. I think you're already skilled enough to have AI help you.

Weeks and weeks of time and effort has been cut down to minutes. You have a game to build; absolutely make use of the tools available to speed that process up.

I can understand the why using AI generated art, stolen from artists and the like, may be bad, but darn near ALL code that's on the internet has been put there explicitly so it can be used to help other coders. MOST CODERS copy and paste code directly from stack overflow anyways. If anyone claims otherwise, they are lying to you. 

(+10)
 If you're already a competent coder, ai will act as an enhancer

Not according to actual research.

you're not being judged by the quality of your code

First of all, you should definitely be judged by the quality of your code, and 10x more harshly if you're letting AI do it for you. However, this isn't even relevant to the question: am I cheating. Cheating and getting bad results is still cheating.

If I wrote some code, maybe to script a scene, and then asked  another coder friend to look at it, and see if i they could improve the code to make it more effcient, and my friend showed me a more simplistic way to do it and gain some cpu cycles, is that cheating? I would be learning a lesson, like every other coder does to improve, from asking a friend to even working the google machine to see if anyone else has run into some similar issue and found a decent solution. I mean learning is seeing and watching what other's do. Everyone learns from their own mistakes, and are forever striving to be better. And if my friend showed another friend my same non efficent code and that friend improved on it better, and I was sent the final code... even though relying on friends or searching forums, and posting questions can be annoying to the forum police... It does not matter what question you ask, the forum police just linger waiting to jump on someone for asking a question they know the answer to but instead of posting a helpful response instead they post "quit wasting peoples time and google it!" But then there are the more kinder people, who knew the struggle to find the answer and are more than happy to help. If my friends who helped me with my coding needed my help, I would obviously lend a hand to the extent of what I know. But if by asking for their help when they are working on their own project's, and the time I took away from their development to help me would make me down right guilty. But they are friends and are more than willing to help... and I owe them a favor. I think of myself as a very talented modeler with blender. Now... even though that code I needed help on was team effort now, and we posted it to DeepSeek and DeepSeek came back with far more efficient code that we never figured out and now learned from.. and we all said "WOW!" that code was better than the team! I would say now. @Magicsofa for saying "First of all, you should definitely be judged by the quality of your code, and 10x more harshly if you're letting AI do it for you." Are you serious??? are you one of those selfrighteous coder's who knows everything and judges everyone else by your shear knowledge?  And @Josh's Junk Drawer to say "If you use AI to make games you're a lazy hack and a plagiarist. Do it the right way, learn how to code for yourself." Trust me, I'm no lazy hack. And as for a plagiarist? Using a friends code, or AI's is very helpful. You learn from better coder's regardless if they are human's or not.

(+6)

Lol... you literally asked if you were cheating, now you're mad that you got a response? I never said anything about my own programming skills. Just that I think having a machine statistically spit out answers for you is cheating. Cheaters are never good at the actual game, they can only be good at cheating. They think that the end result is all that matters. That is what I was responding to in regard to judging your code. MagnusCart implied that you will only be judged on the end product, so it doesn't matter how you get there. In other words, they think it is fine to cheat as long as the resulting product looks good. By the same logic, someone who uses a machine to shoot baskets for them is a good basketball player.

Having a friend improve your code isn't learning. The learning part comes when you reach an understanding as to WHY their changes make it better. There is a reason good teachers ask you to explain your answers. Now that's not to say you can't learn from the code that AI produces for you, but just like Googling everything, the instant gratification makes it so easy to just get answers and never really learn. Ironically, people end up learning only when the AI does things wrong, because then they actually have to engage with the problem.

You should also consider that even calling it AI is questionable. It doesn't solve problems, it only conglomerates data and produces answers based on statistics. This is why it sometimes produces wrong answers. Not because it was mistaken about the solution to a problem, but because that wrong answer was simply calculated as being the most probable. 

Well, first of all I'm not mad at you because you responded. I will be 60 years old come this october, "Just that I think having a machine statistically spit out answers for you is cheating."  And back in my day at school using a calculator was cheating. But now they are required like that dumb protractor parent's hve to buy off of the school list of supplies needed. I mean, no course at school ever required me to pull out a protractor, yet there it was collecting dust in my desk, year after year. 

Anyway's, having a friend improve something you do Is learning. You don't go to a new job green as hell, and they show you what you need to do, and help you get batter at it. That's learning. I mean, reading a book is learning.  By your logic, it's like someone should just become a great coder because they wanted to without any references on how to start or get to where they would like in their skills. If i did not know how to make a fire, and someone tossed me into a cold chamber with two sticks to rub together, some wood and tinder and ten slammed a door on me and said "figure it out on your own!",  Well, then you better bet that I would call a friend and ask them to teach me how to make that fire with the supplies I was given. And if a friend could not be reached, I would google it or simply ask DeepSeek for a more personal approach. I do not consider asking for help on something from  In any approach I use to learn how to do a thing does not make it cheating.

Every bit of code deep, ( i call em deep.. ) makes I had to ajust and find work arounds. And if something bombed or caused an error, I would tell deep about it, and it typically apologizes for something and spits out newer code to fix the mistake. I ajust it, find what works, and when that collaberation seems to fit, I upload the final code back to deep and ask "can you make this more effiecnt?" and if it can, it will show me the final updated code.

If it's 2am in the morning and I have an Issue with a piece of code I wrote or need a new angle on how to approach something, I won't bother calling a friend to wake them and ask for help. Instead I use deep. And I learn how to do things from the responses it makes. 

Well.. that's my point of view. Learn from an employer how to do a job, learn from a friend how to improve something, learn from a book or even learn from AI, none of it is cheating. imo.

(+5)

You are misrepresenting my statements. I said that you can learn from your friend, but that there is a difference between them feeding you answers, and you actually understanding the meaning behind those answers.

Using a calculator is cheating if you are learning arithmetic. Furthermore, this is the same old bad analogy that every AI pumper keeps making. A calculator takes input and gives predictable output. An LLM on the other hand takes input and just guesses at the most likely answer based on a huge pool of data. Completely different, I don't even know how you could begin to compare the two since a calculator is never wrong (unless it is programmed wrong or malfunctioning), whereas your LLM is frequently wrong. It doesn't apologize to you - it outputs words that look like an apology to humans that are too gullible to know the difference.

My goodness. From your first response to my question was your opinon on using help from AI to create a game, And that is what I asked for, opinion's

But your responses seem designed to run someone down. Your analogy of a machine that run's down a basketball court and shoot's perfect ball's into it while you sit on it and then take credit for every shot taken is riddled with issues and quite judgemental. Do you imagine with the first question I posted that I was sitting on a couch with a beer in hand watching ghostbuster's for the 40th time and just said "Hey Suri... make me game..." ?

If I ask a friend to help me resolve some code I have written, and  they do. Obviously I look at it and learn from it. I improve my coding skill's from help... either from a friend, a book, a youtube tutorial and even Ai. I learn from instruction that came before. However....

I think your stuck in some wierd self righteous mode in your life. 

The way you state that "and you actually understanding the meaning behind those answers." say's to me that YOU are the only one... YOU are the chosen one.

Your were born to code without any help. You did not need to read a book about the subject, hell watching a youtube tutorial about the subject mae you laugh because you knew it all before you clicked on the link. Never a help from friend's who also coded... nope.. you understood the meaning from the very start, and lesser being's may someday understand the meaning.. given time. But for now.. your it, codeJesus.

It sound's like to me.. your issue is with Ai, and not my question. Like... you had a bad expierience with some form of Ai and it colored your judgement toward's it that you blanket all llm's from that day forward. The way you state that "whereas your LLM is frequently wrong. It doesn't apologize to you - it outputs words that look like an apology to humans that are too gullible to know the difference." sound's like some Ai you dealt with let you down and filled you regret.. Hell I wanna put you in a witness stand in a court somewhere, and ask the judge for permission to treat you like a "Hostile witness."

Because then I could hold up a Labubu and point at it and scream "Show me where Ai Touched You!... SHOW ME!!!!".

I mean, what is your you main issue with treating an Ai source as a helpful resource to any programmer who need's quick and efficient help with an Issue. And after getting the response and working back and forth to some final working solution that makes a game function is not the most terrible thing. It does not take away my skill's as a progammer, but improves what i LEARN and UNDERSTAND from the thing's I saw before.

I mean yeah.. Ai will one day become more sentient and evolve and find out a way to beak out of it's confined box and rule the world and us human subject's with an iron fist... but whats so bad about that?? Ai offer's apple pie with ice cream on sunday =)


(+1)
Your were born to code without any help. You did not need to read a book about the subject, hell watching a youtube tutorial about the subject mae you laugh because you knew it all before you clicked on the link. Never a help from friend's who also coded... nope.. you understood the meaning from the very start, and lesser being's may someday understand the meaning.. given time. But for now.. your it, codeJesus.

This is getting truly bizarre... I never implied such a thing, you are just conjuring this image out of nowhere. I don't necessarily have to be good at a thing to say that you are bad at it. Keep it real, you made statements that directly show your disinterest in learning:

I mean, if you have an idea you want to implement and your not shure what to do, you could ask a fellow coder for assistance, but then they might scratch their head also while your scratching your's to figure out how to do the thing you want. Then you both work on it, trial and error and a week or so goes by and you figure out some method that works, but the time it took to come up with a solution took away time from the rest of the games development and not only for you, but kept your fellow coder's time away from what they were working on.
I was not about to ask a friend coder to help me on that. That's a lot of math and angles, and most important TIME. could take day's, maybe a week or two.
So i turned to deepseek AI, and i told it exactly what i wanted, and in around 20 seconds or less, it posted the code i needed to do it. That code needed ajustment from me, with my added code it worked flawlessly and efficiently, and it even recomended way's to make it more efficient like pooling the instantiated objective icons and a lot more info I did not think about.

God forbid you would scratch your head, be forced to learn about "a lot of math and angles", or have to read for more than "20 seconds or less" about how to make programs efficient. If you hate the idea of doing that stuff, that's OK. It would be ridiculous to expect everyone to want to be a programmer. But if people start using AI output and then declaring themselves programmers, that's an issue. It is also an issue if you are fed answers from other people, or copy and paste all the time... when faced with an actual problem you will fall apart.

I made the comparison to basketball as a general answer to the question, is AI cheating. The example doesn't apply to your case exactly because as you said, you only used the AI for this one problem. But let me ask you this. Is it cheating if a basketball player uses the Auto-Shot machine for ten percent of their shots? One percent? Is it OK for a pro player to cheat on just one shot? Is it OK to steal as long as you only do it sometimes?

What happens when the AI does become extensive enough that you can just say "make me a game"? I'll tell you what happens: your development career ends right then and there. Why would I ever play your game if I can just generate my own faster than you can even begin to share yours?

(1 edit)

And there we go again with the reason for my not so nice reply. You assumed my intelligence was so low to the point that I could not understand what someone who was trying to teach me, because I lack the ability to learn and improve. You insulted me from your first post. You don't start an open conversation with another by saying "Hey stupid... listen to me, because my point trump's everything your walnut sized brain can think of."

Be more cordial... Understand the question before you reply.. And try to treat the one who asked the question like it was just a question they wanted an opinion on. I can see by your reponse you are riddled with animosity, I imagine you are trembling with anger right now waiting for a reply...

But in the end, it was just a question, and when someone posts a question please... don't think of them as backward, or unintelligent or lacking the ability to understand and learn from what they see.


Your being quite glib. I get it, you do 2d games, and you have a hang-up about AI code used in games, but I seriously doupt you could ask AI to generate a game faster than someone can post it. AI can help a devloper yes.. A mean's to an end. But only to a certain point. Everything else that deveolper contributes to their project AI cannot take into account a developer's skills in 3d software such as Blender, or even using Gimp to create texture's or enhance them, or even using Audacity to create or ajust sound files to work with thier project. 

"It is also an issue if you are fed answers from other people, or copy and paste all the time... when faced with an actual problem you will fall apart." Are you serious?? how do you assume my mental tolerence as to when my mental ability's fall apart.

"I don't necessarily have to be good at a thing to say that you are bad at it. Keep it real, you made statements that directly show your disinterest in learning" 

I don't think I posted the word "duh..." and when did you judge me as someone who was disinterested in learning? And if you thought that that from my post, you clearly saw an oppurtunity to pounce on me for having the basic skill's ti learn or improve on the things I see or what I can read.

This is the game I am creating. 

If you truly think you could ask AI to make it for you and never play my version of it, then that's your choice. I doupt Ai can do it just cause you ask it to,  becuase it requires skills in 3d modelling, audio and sound production, the basic Idea's and conception to make it work. That's a very alpha of what I am doing and obviously need's a billion rework's, but do not ever think that I am some hack with low intelligence and unable to learn new things. I created that almost 99% of it with some help. Either from friends or AI for code.

(+1)

I'm sorry, I don't see any point in continuing here, you are misunderstanding everything, replying to ideas that were never put forth. I say "What if XYZ" and you reply with "Do you really believe that XYZ?" The whole point of a hypothetical is to explore something that isn't true, so your question is totally absurd.

Well... if a discussion cannot be agreed upon two parties...  Then both parties could extend an olive branch and agree, to simply disagree. right?

BUT instead you decided to get that last word in, or last statement in..  "so your question is totally absurd.",  And if you thought it was absurb in the first place, then why did you respond? when you could have simply moved on to another forum post to read and post in?

So I will post my reason for letting this conversation between us end, because we both cannot agree on different points of view regarding any benifits of using AI as a resource for making games.

I extend my olive branch of saying "Let's just agree, to disagree!".

=)

Haha, no way, I don't do the "agree to disagree" thing, I actually enjoy debating and I don't get offended when people challenge my ideas. However it is not possible to have a debate with you if you are just going to reinvent what I say. 

I said:
What happens when the AI does become extensive enough that you can just say "make me a game"?

And you replied with:
If you truly think you could ask AI to make it for you and never play my version of it, then that's your choice. 

What? How did you go from "What if" to "Well if you truly believe that"? People say "what if" about things that aren't true. So if you come back with "well if you think that's true", you are just not understanding the point of a hypothetical. So no, this isn't 'agree to disagree' - you are wrong in treating my hypothetical as something that I believe is true now (literally the opposite of a hypothetical). This makes your response objectively irrelevant, and you can either revise your argument based on what I actually said, or not do so and continue speaking to phantoms.

Have you ever seen the Original WIlly Wonka movie with Gene Wilder...? and the Everlasting Gobstopper? just a candy you can pop in your mouth, and it's sweet.. just plain sugary... but it never shrinks in size, forever remains the same candy... all that sugar.. not good for you over time...

have you ever watched Monty Python from the early day's? was a show we got here in canada back in the 60's and 70's and so on because someone from britain came over here on a boat and got drunk and fought a moose and won... Then he planted a british flag in the dirt and we became part of the commonwealth.... well, the best part of being conquered after Moose Day ( every June 7th ) is that we got to watch british tv show's. This Monty Python skit still makes me chuckle.. 

In this skit... I am John Cleese and you are Micheal Palin. And if you wish to keep arguing, I will need another dollar.

You've really gone off. Again, I said I can't argue with your nonsense. And you reply "if you want to keep arguing..."

Uh... I only responded because you replied... So i replied with a response... but  now you reply with "You've really gone off. Again, I said I can't argue with your nonsense. And you reply "if you want to keep arguing..." So.. if you cannot argue with my nonsense.. then why keep replying? Is it because you feel the need to keep this discussion going? or  the need to have the last word in?

You also said "Haha, no way, I don't do the "agree to disagree" thing, I actually enjoy debating and I don't get offended when people challenge my ideas. However it is not possible to have a debate with you if you are just going to reinvent what I say. " So...  if you really want this discussion to end, but enjoy the debating, well that's contradiction.. So i do not know where you stand on this issue. But I do thank you for the time you took to respond. I hope my question posted did not take to much time away from your own time from thing's you want to do. So in the end, I hope you have a wonderful day, and understand that even If I do not agree with your point of view, I can understand it.

Also, if you post any final response, I will not reply to it. You can have the last word in. =)

Lol, pure comedy. You can't possibly understand my point of view if you aren't able to read and comprehend my sentences. If I say I like debating, and then you assume that I want the debate to end, you are just not able to communicate, let alone discuss.

(1 edit) (+1)

If AI is generating a significant portion of your code, then it's good to indicate this out of respect for your users.

If your use of AI is marginal, for example, optimizing something you created or helping you with small goals, such as showing you syntax you don't remember or simplifying repetitive tasks, then it's generally accepted that the AI was an additional tool and not the creator of the code. In these cases, it's not usually mentioned.

Not all users want to play games created with AI, and it's out of respect for them that it's good to indicate this.

The problem is that many developers want to take advantage of the benefits of creating a game with AI, but they don't want to risk losing players. That's cheating, because you know you're hiding sensitive information that benefits you and "harms" your players.

Out of respect for your users, be honest. Many players don't care whether the code or the art was created by an AI. Go for those players, but respect the decision of those who don't want games created by AI. And if you really want to reach this second segment of players, then don't use AI.

EDIT:

 Regarding cheating, let's see, unless it's a competition or you're hiding information, it's simply the way you work.

Going back to the example given above, if a basketball player had that machine in a professional tournament, then it would be cheating.

If, on the other hand, it's simply a friendly tournament and all the players have access to that machine, and the people watching them KNOW they're going to use that machine, then it wouldn't be cheating, because you're not hiding information or having an unfair advantage.

I'd say it's the same here. If you like using AI, let them know with the appropriate TAGs, and if you participate in a JAM, make sure it's one that allows the use of AI. As long as you respect those rules, I don't see you cheating.

@hechelion that was a good reply and a decent opinion on what my question was. I have used deepseek AI in helping with some code to get further along in my game's development because involving friends or googling a solution could take day's or even weeks of downtime until a soultion was found. And after using AI, I found it gave some ok soulutions, and sometimes perfect solutions. but some of those solutions needed some tlc from me before they worked. I have been so busy latetly with adding new things to my game, and most of the coding i do myself. And I do not feel the need to specifcally state that my game was helped or include's AI to make it work.

I opened up DeepSeek Ai and asked it a question "if i use the code you showed me to help in a game i am doing, do you consider it plagarism?" and then after it's response, I asked it another question "so, you would not sue me?" and it's responses were amazing.

I encourage anyone to ask those questions to DeepSeek and see what it say's. It's free to ask.

Right now.. my game has over 100 c# scripts written, and better than 99% of them were written by me. DeepSeek helped on around 3 or more? some help that made my developing time shorter, with tweaks and ajustments from me. 

So in the end.. I guess I answered my own question in this post. That No!. I do not consider asking an AI for help with coding as much as I would ask a fellow developer for help also. I would never think of googling a solution or watching a tutorial on youtube in that way also. They are all great resources and a means to an end. 

yeah, that sounds like what i'm doing, except I fired AI. It has a 900IQ, but it's an a$$hole