Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

6
  • \$\begingroup\$ I'm going to keep the current run to 10K for now (for quicker testing). When I do the final run through, I'll likely make it larger. \$\endgroup\$ Commented Dec 2, 2015 at 1:42
  • \$\begingroup\$ I'm not trying to accuse you of anything, but this votes the way Sniper would ~99.7% of the time, it's basically going to be a coin flip as to who wins, since they are so close to the same strategy. \$\endgroup\$ Commented Dec 2, 2015 at 6:40
  • \$\begingroup\$ Where did you get that statistic from? I admit it has a semi-similar strategy but my goal was to try at improve upon something as simple as yours by choosing to vote for people whom are very smart if they are significantly smarter than me(aka I'm not likely to win the pot if they survive) \$\endgroup\$ Commented Dec 2, 2015 at 20:39
  • 1
    \$\begingroup\$ I gave your class a static Sniper S = new Sniper() and static long agrees=0, disagrees=0;. In your voting method I add S.setSmartness(getSmartness()); int sniper_answer=S.vote(currentOpponents); which calculates how a sniper would vote in your position, then put your answer into a variable to counted whether it agreed or disagreed before returning its answer. Once the game is over you can print agrees:disagress which was 525602:1228. \$\endgroup\$ Commented Dec 2, 2015 at 20:52
  • 1
    \$\begingroup\$ @Linus That makes sense, sounds legit. I'll add a note about that. \$\endgroup\$ Commented Dec 2, 2015 at 21:06