Replies: 2 comments 6 replies
-
This is so cool!! (sorry, I just saw this thread now :() might be super useful for debugging implementations or playing against the AIs |
Beta Was this translation helpful? Give feedback.
-
Hi @lanctot, I've release the version 1.0.0. Now there's an extra functionality, where users can plugin Bots at runtime. I've added few instructions in the repo, but basically people can write new classes inherited from pyspiel.Bot, which can be loaded at runtime (from the main menu). I use pyspiel.Bot as the interface between OpenSpiel and Pygame_spiel, to test custom algorithms. I've done this to allow users to quickly test new algorithms when they are working on OpenSpiel. So instead of using Pygame_spiel just to play games with default Bots (currently MCTS, DQN), now it can be used to test and debug algorithms during development activities in OpenSpiel. This functionality is certainly not perfect yet, but it should be ok to start. I'll apply some changes moving forward. Next additions to Pygame_spiel will be (not necessarily in order):
|
Beta Was this translation helpful? Give feedback.
-
Hi all.
I've created a project where I used Pygame to generate a graphical UI to play Openspiel games (https://github.com/giogix2/pygame_spiel). The intention was to have an easy way to play games against Openspiel's AIs, and have AI bots playing against each other (though this is not available yet).
So far I've implemented only Tic Tac Toe and Breakthrough, and integrated the MCTS and DQN (only for breakthrough) algorithms.
It's a project I've done for fun and to learn more about Pygame. It's nothing special, but I thought I'd share it here if anyone is curious. I don't plan to actively work on this, but once in a while I might add stuff to it.
Beta Was this translation helpful? Give feedback.
All reactions