start of a roguelike built in flash. messy code :)