News for hackers. Stuff that matters.
Re:How fighting games use delay-based and rollback netcode (... by anonymoushn on Saturday February 27, 2021 @10:45PM (#26290506)
You probably don't want to do this. Players will get quite reasonably upset if the AI predicts thst the opponent will use an attack, so on their screen they hit the opponent out of the attack, then a rollback occurs and the opponent has actually blocked.

Some games like Killer Instinct have AIs that learn to play like a certain player. It's pretty cool!

Re:How fighting games use delay-based and rollback netcode (... by shalmanese on Sunday February 28, 2021 @01:38AM (#26291179)
Could be accounted for by having different cost functions for each type of misprediction and heavily penalizing the ones that decrease enjoyment in the game.