generalized game phase logic and implemented score retrieval