add GA, fix end game checker