added a optimized bolean to the game