Does anyone know if Stockfish/other chess bots can play and analyze connect 4 positions? I was playing Connect 4 today and I was wondering that.
Does anyone know if Stockfish/other chess bots can play and analyze connect 4 positions? I was playing Connect 4 today and I was wondering that.
Connect 4 bots exist as far as I'm aware. Chess bots are going to work through an interface like UCI in order to communicate themselves through something like a GUI board. Out of the box they likely won't have any logic for playing Connect 4 nor any means of communicating moves to a Connect 4 board. You could modify an engine but it'd probably be simpler starting from scratch.
I'd scour GitHub for an existing bot if you want something that "just works." Otherwise you could probably go the machine-learning approach with a language like Java or Python, making a working bot that plays against itself for many iterations in order to improve itself. If you've some cloud-computing credits or feel like spending a few bucks on it you could outsource the processing to speed up the process.
Connect 4 bots exist as far as I'm aware. Chess bots are going to work through an interface like UCI in order to communicate themselves through something like a GUI board. Out of the box they likely won't have any logic for playing Connect 4 nor any means of communicating moves to a Connect 4 board. You could modify an engine but it'd probably be simpler starting from scratch.
I'd scour GitHub for an existing bot if you want something that "just works." Otherwise you could probably go the machine-learning approach with a language like Java or Python, making a working bot that plays against itself for many iterations in order to improve itself. If you've some cloud-computing credits or feel like spending a few bucks on it you could outsource the processing to speed up the process.