Life as a game of chess