Discuss Scratch

TREVOR800
Scratcher
10 posts

i need good ai. for my pong game on scratch

ive ben looking everywhere and i only found old bad code could somebody tell me some updated code?
when green flag clicked
say [trevor800 I NEED HELP PLS :[]

Last edited by TREVOR800 (March 17, 2024 02:46:50)

dynamicsofscratch
Scratcher
1000+ posts

i need good ai. for my pong game on scratch

wdym?
dynamicsofscratch
Scratcher
1000+ posts

i need good ai. for my pong game on scratch

dynamicsofscratch wrote:

(#2)
wdym?
like wdym by ai as in artificial intelligence? + this thread should be moved to HwS instead of Collaboration
LittleGreyCells
Scratch Team
1000+ posts

i need good ai. for my pong game on scratch

Moved
jaskeI
Scratcher
100+ posts

i need good ai. for my pong game on scratch

I'll remix your project and make an AI so you can add it if you want.
jaskeI
Scratcher
100+ posts

i need good ai. for my pong game on scratch

Whipped up some quick AI if you want to check it out - https://scratch.mit.edu/projects/984317666/
TREVOR800
Scratcher
10 posts

i need good ai. for my pong game on scratch

t5hank you so much!
jaskeI
Scratcher
100+ posts

i need good ai. for my pong game on scratch

np!
jaskeI
Scratcher
100+ posts

i need good ai. for my pong game on scratch

Made a better AI, nearly impossible to beat. https://scratch.mit.edu/projects/985428079/editor/
jaskeI
Scratcher
100+ posts

i need good ai. for my pong game on scratch

Btw the reason that the ball was not bouncing off the AI is because
(pick random (X) to (X))
Had a positive integer, and it should be bouncing to the left, not the right, so you need to put negative integers. Also, the glide block you should have gone glide to X: (X Position), Y: (BallYPos) so it always hits the ball.
TREVOR800
Scratcher
10 posts

i need good ai. for my pong game on scratch

oh tysm! illbe sure to check it out

Powered by DjangoBB