Page 1 of 1

Pong

Posted: Sat Sep 15, 2018 2:01 pm
by Pkill-9
Hello, I'm new to the LÖVE game engine, I am liking it a lot. Here is my creation of Pong. You can't actually beat the computer because the enemy paddle is always set to the y-position of the ball, lol, but it's a nice little demo.

Control the left paddle using the up and down arrow keys.

Here is a browseable repository of the code: https://gitlab.com/pkill-9/love/tree/38 ... 55014/pong

I look forward to making more interesting games :D

Re: Pong

Posted: Sun Sep 16, 2018 4:09 am
by milk
Well it's definitely pong, good job on the collisions and stuff. The AI looks impossible to beat as it just tracks the ball y position though (at least it appears that way...) I'd suggest adding some hysteresis so it's more of a 'game'.

Re: Pong

Posted: Sun Sep 16, 2018 7:54 am
by Stifu
milk wrote: Sun Sep 16, 2018 4:09 am The AI looks impossible to beat as it just tracks the ball y position though (at least it appears that way...)
Yep, it's clearly stated in the original post.