bot now has normal movements, fix colisions when ball is perfectly straight

This commit is contained in:
2024-10-09 09:04:14 +02:00
parent 7be1d3ae9f
commit 2046ed4c9a
7 changed files with 114 additions and 48 deletions

View File

@ -6,7 +6,7 @@
# By: tomoron <tomoron@student.42.fr> +#+ +:+ +#+ #
# +#+#+#+#+#+ +#+ #
# Created: 2024/10/06 16:33:56 by tomoron #+# #+# #
# Updated: 2024/10/06 16:34:24 by tomoron ### ########.fr #
# Updated: 2024/10/09 07:03:19 by tomoron ### ########.fr #
# #
# **************************************************************************** #
@ -52,3 +52,5 @@ class GameSettings:
wallWidth = 0.05
bounceSpeedIncrease = 0.2
maxScore = 5
maxPlayerSpeed = 0.4