top of page

Markov Part 1

As part of my current assignment at AIE I am updating my previous soccer project to include some more advanced AI. Specifically I am writing code to allow the computer to predict where the player will pass the ball next, based on where they have previously passed the ball in this situation. To achieve this I had a few steps to follow.

the AI had to be able to recognise where the ball had been previously. to achieve this every time the player passes the ball, the AI takes record of where the ball went to, where it came from, and where it was before that. When this happened the AI would then hash these details to ensure they remained clear for only one situation, and stored them in an unordered map.

The AI would then be able to check this unordered map by accessing the hashed value that was equivalent to where the ball currently was, and where it had been previously and then it could predict where it would go next based on this previous information.


Recent Posts
bottom of page