Page 1 of 1

First tic tac toe AI contest

Posted: Wed Nov 27, 2013 8:34 am
by a_bertrand
Try this:
http://temp.nowhere-else.org/tic_tac_toe/

The framework offers you 3 different (stupid) AI to try your own AI against.
You can write your JS code in the text area under and press start. Again, don't expect super smart AI from my side as I did skipped a couple of things on purpose.

It would be smarter also to not copy my own AIs for your code. Of course you are free to browse all. The comment in the default user AI shows the different functions you can use. You don't need to know much of JS to try and participate.

For your submission, either post it on the forums (but then accept that others WILL re-use and discuss your code) or send me via PM.

Criteria:
- Does it work?
- Win most or all the time?
- Prevent the other to make good move?
- Nice and clean code

I would say for this first contest, the prize should be pretty low... 5$ sent over to your paypal. Why? Because it is not overly complex and if the AI are well done, there should be no winner. Next one will be a http://en.wikipedia.org/wiki/Connect_Four game, if we have enough people interested, and then I shall give away a license to one of my engine.

P.S: yes all the art and code is self done ;)

Re: First tic tac toe AI contest

Posted: Wed Nov 27, 2013 8:49 am
by a_bertrand
Also, don't worry to ask things on this thread. Me or somebody else will most likely try to help you or even discuss some strategies.

Re: First tic tac toe AI contest

Posted: Wed Nov 27, 2013 10:41 am
by a_bertrand
Fixed a bug, and now when you move the mouse over the log entries (on the right) it shows how was the board at that time.

Re: First tic tac toe AI contest

Posted: Wed Nov 27, 2013 2:07 pm
by vitinho444
Is there a timeline?
I need to study for a test this saturday, and then i need to do a programming final project till 15th December. I would like to try it this Saturday after the test :)

Re: First tic tac toe AI contest

Posted: Wed Nov 27, 2013 2:12 pm
by a_bertrand
I was thinking end next week or something.

Re: First tic tac toe AI contest

Posted: Wed Nov 27, 2013 2:49 pm
by vitinho444
Ok works for me.

Re: First tic tac toe AI contest

Posted: Wed Nov 27, 2013 3:10 pm
by hallsofvallhalla
very awesome! I will toy around with it shortly

Re: First tic tac toe AI contest

Posted: Wed Nov 27, 2013 4:58 pm
by Ark
Awesome! One thing I would want for the framework is to have a global variable (Maybe called "userData"?) and that it will be emptied when a game finishes.

Re: First tic tac toe AI contest

Posted: Wed Nov 27, 2013 5:14 pm
by Ark
Also for the prize maybe Halls or mods could place the name and picture on the front page. Just a suggestion.

Re: First tic tac toe AI contest

Posted: Wed Nov 27, 2013 6:53 pm
by a_bertrand
why would you need a userData?