TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Show HN: Online Tournament for the Prisoner's Dilemma (programming challenge)

1 pointsby mattw212112 months ago
I&#x27;ve created an interesting (at least to me) game that I think others might enjoy. It&#x27;s based on the Prisoner&#x27;s Dilemma (<a href="https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Prisoner%27s_dilemma" rel="nofollow">https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Prisoner%27s_dilemma</a>). Specifically, my inspiration is Axelrod&#x27;s tournament&#x2F;experiment (<a href="https:&#x2F;&#x2F;cs.stanford.edu&#x2F;people&#x2F;eroberts&#x2F;courses&#x2F;soco&#x2F;projects&#x2F;1998-99&#x2F;game-theory&#x2F;axelrod.html" rel="nofollow">https:&#x2F;&#x2F;cs.stanford.edu&#x2F;people&#x2F;eroberts&#x2F;courses&#x2F;soco&#x2F;project...</a>) from the 1980s.<p>In summary, you create a strategy that&#x27;s exposed via HTTP. Multiple times a day, my game server matches your strategy with someone else&#x27;s, and the two strategies play a variation of the Iterated Prisoner&#x27;s Dilemma. The server tracks scores and displays them on a leaderboard. All decisions from every matchup are available for public viewing.<p>I believe there are some interesting optimizations that will lead to an engaging challenge. Specifically, your strategy is aware of its opponent&#x27;s ID from the start of the matchup, and all the opponent data is available publicly.<p>Right now, it&#x27;s running in &quot;beta&quot; mode so that I can incorporate any feedback (which I&#x27;d love to have!). If you have ideas on how to improve this to make it more challenging&#x2F;fun&#x2F;etc., please let me know.

no comments

no comments