Now a player has a UI to attack, adds good example of a dynamic funciton in a loop with passed parameters
Game is pretty much playable, player can move and attack, enemy can move and attack. Either can be destroyed. Some bugs exist. Needs testing.