Help with AI code


#1

Hi there! Some of you may know, that I am working on a game called Clask, based after the real game Klask. The physics need some help, which I am working on, but, the next version is going to have an AI opponent. You will try to score on there goal and they will defend it. They will also be able to score on your goal. I have no idea how to do AI code. Any ideas? Thanks!
Link:

@ThinBuffalo @CreationsOfaNoob @CodeHelp @pomtl


#2

I would tag @GameCodingCrazy123 I think they have made something like that


#3

Ok. Thanks. You just tagged them so…


#4

He has?


#5

Not really but I could try helping!


#6

Thanks! I’ll need all the help I can get…


#7

What do you want the al to do


#8

Be an AI opponent.


#9

Thought it was AI for Artificial Intelligence, not AL for artificial… Lsomething


#10

@swca how did you code the AI slime in slime dodge?


#11

Like what type of AI ? AI that follows you?


#12

With x pos and y pos


#13

Official rules:

The AI will be the opponent.


#14

… ? confused :confused:


#15

I think you posted this on the wrong topic. You may want to move it. @Stylishpoopemoji33


#16

What should I post it on instead?


#17

hey cool! Neat idea, does need some work tho. I’d be happy to help, but unfortunately games aren’t my specialty. I can try tho, but when you get to the designing part of the game definitely tag me—that’s what I’m good at


#18

Sorry. I forgot that you made this topic. :stuck_out_tongue:


#19

Ok! Here is my newest Clask version. Any feedback?


#20

The ball got stuck on the edge and I couldn’t get it out.
Also, the AI is really cool and smooth in moving! It beat me 2 to 1. I have lost hope in humanity.