COMP3411 Artificial Intelligence
Session 1, 2007

Animal Checkers Tournament

We have now set up an interface allowing you to play your agent against other submitted agents. Just follow these steps.


  1. add this lines to your .profile
    export PATH=$PATH:/home/cs3411/ac
    
  2. log out and in again, or type
    . .profile
    
    If you type ls /home/cs3411/ac you will see three executables:
    aclist acplay acsubmit
    
    Once you have compiled your agent, you can submit it using the command acsubmit. For example, if your agent is called client.ac, you should type
    acsubmit client.ac
    
    The system will respond with a message like this:
    The name of your agent in Venom.
    
    (Note: acsubmit will also be called automatically each time you submit your assignment using the give command.)

    If you do not like the name assigned to you, you can request a new name by typing:

    acsubmit --rename client.ac
    
    It may come back with
    The name of your agent is Mirage.
    
  3. The command aclist will respond with a list of all agents that have been submitted, and remind you of the name assigned to your own agent. For example:
    The current list of agents are:
    Mirage
    Silverbolt
    Terrorsaur
    
    The name of your agent is Mirage.
    
  4. Finally, you can play your agent against another selected agent by using the command acplay. You must select a port number between 1025 and 65535. For example, to play your agent against Mirage using port 31415, you would type
    acplay 31415 Mirage
    
    If you want to play more than one game, you can specify the number of games as an additional argument:
    acplay 31415 Mirage 3
    
    You may occasionally experience delays due to system load. Note also that, when a game finishes, it may take up to 20 seconds for that port number to become free again. So you may like to choose two port numbers and alternate between them.

Let the games begin!