Utilities for the game