3 ms·
I wrote a C version of a connect 4 AI and used emscripten to build a JavaScript / AngularJS version. You can check it out for comparison: http://rmarcus.info/bl
by RMarcus 12y ago
I wrote a C version of a connect 4 AI and used emscripten to build a JavaScript / AngularJS version. You can check it out for comparison: http://rmarcus.info/blog/2014/12/23/connect4.html http://rmarcus.info/blog/2014/12/23/connect4.html
Edit --
Github is here: https://github.com/RyanMarcus/connect4 https://github.com/RyanMarcus/connect4
Looks like my AI beats your AI. ;)
- guidopallemans 12y agoJust beat yours at 5 moves ahead
- RMarcus 12y agoI've been playing at 8 for a challenge. Can't win yet, but I can draw. I left it at 5 as the default because it works well on tablets. :)