Assignment 2 Algorithms, heuristics and hacks
Algorithms The first thing I will talk about is Algorithms, with regards to the 3D game I am planning to make, I will explain how I will be using them. An Algorithm is a simple set of rules or instructions, that apply to the AI character, which a coder puts into a game. These Algorithms are the baseline for creating any type of game, therefore I think they would be suitable for the 3D game I am going to create. Firstly I could use it to help the AI player or players navigate around the 3D map, this will enable them to move forwards, backwards, left and right. An algorithm could be used to create a ragdoll affect so that when one player collides with another at speed, one or both players would fall to the ground as if injured. If the collision is considered to be deliberate by the player not on the ball a free kick will be given to the player that was fouled. I could also use this to define which of the AI characters is the referee, this would mean that he would not play the g