RhoShamBo competition
− Can you beat the predictor?
Copyright © 2009-2012 Daniel Lidström.
Licensed under The MIT License (MIT)
Description
Here is a program that conducts tournaments for bots that play RhoShamBo (paper/rock/scissors). It is written in C++ and you need to implement the following interface:
struct IPlayer
{
virtual ~IPlayer() {}
enum HAND
{
ROCK,
PAPER,
SCISSORS
};
typedef std::vector<HAND> HandsCollection;
virtual HAND GetNextHand(const HandsCollection& yourHistory,
const HandsCollection& oppHistory) = 0;
virtual std::string Name() const = 0;
};
See the existing bots in the Bots
folder for examples.
Final rankings:
FCM (DL): 16 (7144)
Predictor: 14 (6733)
Beat-BeatLast: 10 (2029)
BeatLast: 8 (58)
Rotating: 6 (5)
PaperOnly: 5 (-2985)
RocksOnly: 5 (-3992)
Unbeatable: 4 (-3993)
ScissorsOnly: 4 (-4999)
Now, can you beat the FCM
predictor? Get in touch with me if you do!
Daniel Lidström, Stockholm 2012-07-03