refactor all of cpu_vs_player game. cut code by 600+ lines