shanive / bgu-ailab-bandits

bandits expiriment
6 stars 0 forks source link

How do I add an agent? #62

Open dtolpin opened 12 years ago

dtolpin commented 12 years ago

I want to write an agent for the SoS tournament based on smartgame.

How and where do I add it?

shanive commented 12 years ago

All SoS agents implement the interface SosPlayer in the SosSmartGame library. In order to use those agents in tournament, we need to add the creation of this agent to the function createPlayer in SosSgTournament.cpp, that gets the player name and game instance, and returns an instance of this player.