Anders Kaseorg's submission of Random Game | CodeChef