`gaming': utility functions for writing games.