Show HN: C4 – Connect Four, with AI
21–30 of 35 posts
Re: Show HN: C4 – Connect Four, with AI
#22Finally got a win, took me about 10 rounds. Really cool thanks for sharing.
Re: Show HN: C4 – Connect Four, with AI
#23Re: Show HN: C4 – Connect Four, with AI
#24I want to note that you can win every time by dropping wherever first, then on your next moves dropping every piece on top of the AI's pieces.
Re: Show HN: C4 – Connect Four, with AI
#25I 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 Edit -- Github is here: https://github.com/RyanMarcus/connect4 Looks like my AI beats your AI. ;)
Just beat yours at 5 moves ahead
Re: Show HN: C4 – Connect Four, with AI
#26It's really a great game for playing with AI strategies since it's so simple. You can borrow our game runner and write your own: https://github.com/smilliken/aigames/tree/master/connect-fou...
You can use any language since it just talks over pipes. There's a few bots in there you can play against.
Re: Show HN: C4 – Connect Four, with AI
#27Re: Show HN: C4 – Connect Four, with AI
#28We did a friendly programming competition at MixRank last year writing AIs for Connect Four. It's really a great game for playing with AI strategies since it's so simple. You can borrow our game runner and write your own: https://github.com/smilliken/aigames/tree/master/connect-fou... You can use any language since it just talks over pipes. There's a few bots in there you can play against.
Re: Show HN: C4 – Connect Four, with AI
#29Re: Show HN: C4 – Connect Four, with AI
#30Not to be a pessimist, but Connect Four is a solved problem: http://en.wikipedia.org/wiki/Connect_Four Wouldn't that mean the best AI should always win if it's first (alternatively, you should always win if you're first)?