Make a player that takes in the game state and picks an action instead of simulating future states in order to evaluate them. The basic actions are something along the lines of up, down, left, right, and "action". The inputs should be a square of sprites centered on the player ... perhaps a 5 by 5 grid (should be a parameter). For now, simply assign arbitrary numbers in the range -1 to 1 to the different types of sprites encountered in the world, and see if you can extract that input.
Make a player that takes in the game state and picks an action instead of simulating future states in order to evaluate them. The basic actions are something along the lines of up, down, left, right, and "action". The inputs should be a square of sprites centered on the player ... perhaps a 5 by 5 grid (should be a parameter). For now, simply assign arbitrary numbers in the range -1 to 1 to the different types of sprites encountered in the world, and see if you can extract that input.