Chess Need to add for completion: All result states: Stalemate Insuficient Material Threefold Repetition 50-Move Rule fix gamestate function finish fixing code