Skip to content

the going-to-Macau group dyplomacy agent - top secret!

License

Notifications You must be signed in to change notification settings

yonatankarni/anac2019

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

anac2019

the going-to-Macau group diplomacy agent - top secret!

Prerequisites:

  • Java 8
  • python 2.7
  • maven 3 (might not be required if only working in Intellij or Eclipse as you can import a maven project)

installing the tournament server:

pip install parlance

running a tournament:

you will need to either edit the file ParlanceRunner.java, or pass parameters to the program (in intellij do this by going to "Run->edit configurations")

run the TournamentRunner.main() and voilla.

running the tournament with our agent using maven:

run the following from the project root dir:

  • mvn initialize
  • mvn clean install -pl biu3141Negotiator
  • mvn clean install

in order to debug the agent, replace the last step with:

  • mvn test -Ddebug=true

and then connect via remote debug (on port 5005)

to run just the first stage test (4 vs. 3), run:

  • mvn test -pl bandana -Dtest=MyTournamentRunnerTest#testRunTournamentFourVsThree

and to run just the second stage test run:

  • mvn test -pl bandana -Dtest=MyTournamentRunnerTest#testRunTournamentOneOfSeven

to evaluate the first stage over 20 games run:

  • mvn test -pl bandana -Dtest=MyTournamentRunnerTest#testRunTournamentFourVsThreeLong

About

the going-to-Macau group dyplomacy agent - top secret!

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages