Original Post
I've just finished writing a networked Tron 'Light Cycles' server/client. For those not familiar, Light Cycles is a classic arcade game similar to "Snake", except your 'tail' does not follow you (always grows) and the object is to simply force other players into hitting your tail or the wall. Everything is working well, and since the client is abstracted enough that it is fairly simple, I've decided to write an AI bot. However, I am at a loss for what algo I should use. The light paths are simply stored on a boolean[][] grid for the AI client, so this and the AI player's current direction (north, east, south, or west) are all it can use in making the decision as to which way to turn. Can anyone suggest an algo for finding which direction the AI bike should turn?