Giter Site home page Giter Site logo

Comments (6)

shadowleafy avatar shadowleafy commented on September 21, 2024

yes. It's possible. Not gonna say how but I can get ~ 2.93 average against randoms.

from prisonersdilemmatournament.

nobody5050 avatar nobody5050 commented on September 21, 2024

Yep, I’m getting the same against randoms

from prisonersdilemmatournament.

Barigamb738 avatar Barigamb738 commented on September 21, 2024

I got ~ 3.01
Also, a hint is to look into why the iterated prisoner's dilemma is different than the original in the first place.

from prisonersdilemmatournament.

jherndon8 avatar jherndon8 commented on September 21, 2024

I’ll eat my hat if the winning strategy doesn’t exploit randoms

from prisonersdilemmatournament.

l4vr0v avatar l4vr0v commented on September 21, 2024

@domdabomb42 , here's two naive approaches:

  • Within a window of past moves, count unprovoked defections by your opponent (defections that didn't come after a defection from you). If these occur with a frequency above some threshold, assume you are facing random. (I use this in some of my detective variants.)
  • Count unprovoked defections throughout the game. If these exceed a threshold (constant), assume you are facing random (@Lasermancer uses this and shared it in the Discord).

Note that you probably want a good backoff strategy because these random-detection heuristics are brittle (e.g., they can misfire for joss or for deferred tit-for-tat'ers). You can, of course, come up with something more sophisticated and statistical - think of what would be true for an opponent whose moves have no relationship with yours!

from prisonersdilemmatournament.

domdabomb42 avatar domdabomb42 commented on September 21, 2024

Thanks @I4vr0v. I'm gonna use unprovoked for now and try to figure out something better once after I counter some of the other strategies.

from prisonersdilemmatournament.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.