Final implementation of Game States.