Tuesday, December 8, 2015

Zombie Dice - Instruction

This page gives instruction on how to prepare a submission. 


Step 1 - Locate the correct file

The file that you are expected to modify is called ai_template.py. Its code is locate here:

This file imports the bare-bone AI class from ZDengine.py. 
  1. You must rename the class to follow the following pattern: zd_yourname_ainame This is the name that will be shown on the leaderboard.
  2. You must rename the file using the exact same pattern, but also adding a .py file extension. 
  3. You must specify which division your entry belongs to. 
You may create any number of AIs, but each must be uniquely named. In the end, you will submit your best entry.

Zombie Dice AI Challenge

The Gist

In this challenge, you write an AI for the game Zombie Dice. The AI has to make a simple, binary decision: cash in the brains or roll again. You are provided with all of the code to play the game and run tournaments. The only thing that you may submit is an AI that inherits the based AI class. One of its method takes in a few parameters, and return a True/False decision.