3 ms·
I've built two niche games as AI programming games in ruby: Bang!: https://github.com/KevinMcHugh/mustached-nemesis https://github.com/KevinMcHugh/mustached-ne
by kevinmchugh 10y ago
I've built two niche games as AI programming games in ruby: Bang!: https://github.com/KevinMcHugh/mustached-nemesis https://github.com/KevinMcHugh/mustached-nemesis
The Resistance: https://github.com/KevinMcHugh/secret-nemesis https://github.com/KevinMcHugh/secret-nemesis
I'd like to find a community to share these with but have no idea what these things are even called.
- abhorrence 10y agoI think it'd be neat to have a coordination service that runs tournaments for AIs playing games like Resistance. People register a URL with the service that exposes an API that lets the coordination service tell them the current state of the game, and responds with their next move, if any. People could then write these AIs in whatever they want (and bear most of the cost of running them for tournament style simulation).
- hossbeast 10y agoNecessarily turn-based then? Otherwise low latency would be an advantage
- kevinmchugh 10y agoit wouldn't be difficult to adapt my existing codebase for that. It would probably have to involve webhooks or websockets, and games would play out a lot more slowly than doing it locally with gems. As is, playing 10000 games only takes about 45 seconds. Running across the web is going to slow that down significantly
- HackBlade 10y agoYou might be interested in http://vindinium.org http://vindinium.org It has a REST api so it doesn't matter what language you write your bot in.
- akkartik 10y agoAnother one is https://github.com/ryanb/ruby-warrior/tree/master https://github.com/ryanb/ruby-warrior/tree/master. You can see the AI I built for it long ago at https://github.com/akkartik/brooks-ruby-warrior https://github.com/akkartik/brooks-ruby-warrior.