got game working, need to refactor