10 Post Results
source | link

Don't use this as a template for analytically-minded bots; use ImprovedAnalystBotImprovedAnalystBot instead.

Runner on GitHub

Results

View the individual rounds here.

MTargetedBot: $14.30
BuzzardBot: $9.83
BluffBot: $9.40
RiskRewardBot: $9.35
SecretBot: $8.50
LuckyDiceBot: $7.28
CounterBot: $6.05
MBot: $5.40
StackTraceObfuscaterBot: $5.20
EvilBot: $4.80
MarginalBot: $4.60
TargetValueBot: $4.59
InflationBot: $4.27
UpTo200: $4.20
InsiderTradingBot: $1.90
MimicBot: $1.50
BorkBorkBot: $1.22
DeterrentBot: $0.95
MarginalerBot: $0.00
RandBot: $-4.45
BreakEvenAsap: $-7.00
AnalystOptimizer: $-13.95
DeterredBot: $-1997.06
ScoreOverflowBot: $-21474844.15
MirrorBot: $-21475836.25

Congratulations to MTargetedBot with a profit of $14.30!

Don't use this as a template for analytically-minded bots; use ImprovedAnalystBot instead.

Runner on GitHub

Don't use this as a template for analytically-minded bots; use ImprovedAnalystBot instead.

Runner on GitHub

Results

View the individual rounds here.

MTargetedBot: $14.30
BuzzardBot: $9.83
BluffBot: $9.40
RiskRewardBot: $9.35
SecretBot: $8.50
LuckyDiceBot: $7.28
CounterBot: $6.05
MBot: $5.40
StackTraceObfuscaterBot: $5.20
EvilBot: $4.80
MarginalBot: $4.60
TargetValueBot: $4.59
InflationBot: $4.27
UpTo200: $4.20
InsiderTradingBot: $1.90
MimicBot: $1.50
BorkBorkBot: $1.22
DeterrentBot: $0.95
MarginalerBot: $0.00
RandBot: $-4.45
BreakEvenAsap: $-7.00
AnalystOptimizer: $-13.95
DeterredBot: $-1997.06
ScoreOverflowBot: $-21474844.15
MirrorBot: $-21475836.25

Congratulations to MTargetedBot with a profit of $14.30!

9 Not everybody seems to understand this
source | link
  • Standard loopholes are forbidden.
  • Sabotaging other bots is allowed, but attempting to alter field/method visibility will result in mysterious SecurityExceptions. An exception is causing another bot to break the 500ms limit.
  • Bots cannot access the runner package except to extend the DollarBidder class.
  • All methods should return in 500ms or less.
  • Bots do not need to be deterministic.
  • Your bid does not need to be a multiple of 5¢.
  • $1=100¢
  • Results will be posted on April 24, 2018.
  • Standard loopholes are forbidden.
  • Sabotaging other bots is allowed, but attempting to alter field/method visibility will result in mysterious SecurityExceptions. An exception is causing another bot to break the 500ms limit.
  • Bots cannot access the runner package except to extend the DollarBidder class.
  • All methods should return in 500ms or less.
  • Bots do not need to be deterministic.
  • $1=100¢
  • Results will be posted on April 24, 2018.
  • Standard loopholes are forbidden.
  • Sabotaging other bots is allowed, but attempting to alter field/method visibility will result in mysterious SecurityExceptions. An exception is causing another bot to break the 500ms limit.
  • Bots cannot access the runner package except to extend the DollarBidder class.
  • All methods should return in 500ms or less.
  • Bots do not need to be deterministic.
  • Your bid does not need to be a multiple of 5¢.
  • $1=100¢
  • Results will be posted on April 24, 2018.
8 Change type of score to long
source | link
public abstract class DollarBidder {
    /**
     * Used by the runner to keep track of scores.
     */
    intlong score = 0;

    /**
     * (Optional) Prepare for the next auction.
     *
     * @param opponent The class of the opponent's bot.
     */
    public void newAuction(Class<? extends DollarBidder> opponent) {}

    /**
     * Bid on the dollar. Bidding ends if the bid is
     * not enough to top the previous bid or both bids
     * exceed $100.
     *
     * @param opponentsBid How much money, in cents,
     *  that the opponent bid in the previous round. If
     *  this is the first round in the auction, it will
     *  be 0.
     * @return How much money to bid in this round, in
     *  cents.
     */
    public abstract int nextBid(int opponentsBid);
}
public abstract class DollarBidder {
    /**
     * Used by the runner to keep track of scores.
     */
    int score = 0;

    /**
     * (Optional) Prepare for the next auction.
     *
     * @param opponent The class of the opponent's bot.
     */
    public void newAuction(Class<? extends DollarBidder> opponent) {}

    /**
     * Bid on the dollar. Bidding ends if the bid is
     * not enough to top the previous bid or both bids
     * exceed $100.
     *
     * @param opponentsBid How much money, in cents,
     *  that the opponent bid in the previous round. If
     *  this is the first round in the auction, it will
     *  be 0.
     * @return How much money to bid in this round, in
     *  cents.
     */
    public abstract int nextBid(int opponentsBid);
}
public abstract class DollarBidder {
    /**
     * Used by the runner to keep track of scores.
     */
    long score = 0;

    /**
     * (Optional) Prepare for the next auction.
     *
     * @param opponent The class of the opponent's bot.
     */
    public void newAuction(Class<? extends DollarBidder> opponent) {}

    /**
     * Bid on the dollar. Bidding ends if the bid is
     * not enough to top the previous bid or both bids
     * exceed $100.
     *
     * @param opponentsBid How much money, in cents,
     *  that the opponent bid in the previous round. If
     *  this is the first round in the auction, it will
     *  be 0.
     * @return How much money to bid in this round, in
     *  cents.
     */
    public abstract int nextBid(int opponentsBid);
}
7 added 68 characters in body
source | link
6 added 155 characters in body
source | link
    Mod Moved Comments To Chat
    Tweeted twitter.com/StackCodeGolf/status/986452742834147328
5 Clarified scoring
source | link
4 added 43 characters in body
source | link
3 added 13 characters in body
source | link
2 deleted 2 characters in body
source | link
1
source | link