TdC
Trem's hunky sex love muffin
- Joined
- Dec 20, 2003
- Messages
- 30,925
well AI's arn't omnipotent in and of themselves, but you're right. tbh when I was coding my pong clone ball tracking (hur hur) for the computer opponent, I deliberately left out advanced trajectory prediction: the computer would only know about straight lines and would position it's paddle accordingly. If the ball changed it's vector due to bouncing off a wall or another paddle, it would recompute and reposition.
if I had told it about trajectory change and how to compensate for that it would have been unbeatable from the defensive pov: it would always be able to place it's paddle where the ball would end up being, because it would look ahead and compute all the vectors taking changes in to account. Eventually the human player would lose simply due to being a human. Ofc this is very small scale compared to actual AI, but I am now curious as to what I'd have to do to get the computer to "learn" about how to handle such a thing.
if I had told it about trajectory change and how to compensate for that it would have been unbeatable from the defensive pov: it would always be able to place it's paddle where the ball would end up being, because it would look ahead and compute all the vectors taking changes in to account. Eventually the human player would lose simply due to being a human. Ofc this is very small scale compared to actual AI, but I am now curious as to what I'd have to do to get the computer to "learn" about how to handle such a thing.