a simplistic implementation of a game of chance