pseudocode added to game