Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Next »

Introduction

The controller allows for experiment session to be run in a quicker, more streamlined and controlled fashion. It resides within the server and its purpose lies in automatically pairing groups (dyads, triads, etc.) of subjects, firing up games and checking for client connectivity throughout the experiment.

How to use the controller

To use the controller, you need to locate a class residing under edu.harvard.eecs.airg.coloredtrails.controller. This class is named ExperimentController in our current distribution, but may have a different name in previous distributions of Colored Trails. It contains a main method, hence it creates its own Java application. This application receives command line arguments and should be fired from the command prompt. These arguments include:

  • a configuration file,
  • a file containing a game pool (optional),
  • the minimum number of games to be run per match (optional), and
  • the maximum number of games to be run per match (optional).

To run this application, from the main ct folder, you need to type

java -classpath dist/ct3.jar ExperimentController arguments

  • No labels