News for hackers. Stuff that matters.
Re:TheAIGames – Develop your coding skills by competing in v... by kevinmchugh on Friday May 06, 2016 @09:56AM (#11643970)
Still need to take a closer look, but this looks very cool! I kind of wish I could see more without signing up. All the attract text is kind of empty of content. I'd especially like to see the API or even how long it takes to get started per competition.

Does anyone have a name for this genre of game? "Programming game" is pretty useless as a search term. I'd like to find a community for this, since I built two of them and have no idea where to find players or get feedback.

for reference, though these are probably far too niche games to really get lots of play: Bang!: https://github.com/KevinMcHugh/mustached-nemesis The Resistance: https://github.com/KevinMcHugh/secret-nemesis

Re:TheAIGames – Develop your coding skills by competing in v... by Karliss on Friday May 06, 2016 @02:27PM (#11645742)
https://www.codingame.com have similar AI contests. In the current contest they introduced some interesting features that help getting started. Participants are divided into multiple leagues, so you don't have to face top solutions immediately. Lowest league have simplified rule set. You can advance to next one by having higher rating than certain organizer bots.
Re:TheAIGames – Develop your coding skills by competing in v... by HolyHaddock on Friday May 06, 2016 @11:00AM (#11644421)
I've wondered about building an AI tournament for Avalon before, as my feel from playing and discussing it is that success in the game is strictly dominated by social strategy.

It would be interesting to test out different bot strategies - I'll take a look later. :)

Re:TheAIGames – Develop your coding skills by competing in v... by kevinmchugh on Tuesday May 10, 2016 @04:15PM (#11670292)
That's exactly why i built this. The groups I've played resistance with all build up their own rituals or micro optimizations and I'm not sure whether they're effective or not. For instance, I know certain players who will always vote against the first proposed mission team, in order to force more selection and discussion. Do they win more as resistance? If so, does it hurt their spy win percentage?

I intended to let the bots chatter in certain rigid ways, such as making accusations, but life has kept me busy or working on other side-projects, so it's a little unfinished.

Re:TheAIGames – Develop your coding skills by competing in v... by nstart on Friday May 06, 2016 @11:30AM (#11644622)
Thinking of a genre for this game is actually a good idea. I recall that the last time I saw something like this I think it was a google challenge where they had some kind of spaceship attack game where they pit user submitted AI's vs each other.
Re:TheAIGames – Develop your coding skills by competing in v... by aerique on Friday May 06, 2016 @01:32PM (#11645410)
That would have been Planet Wars. Other 'Google' challenges open for public were Tron and Ants.

I think a good search term for these things is "ai challenges" or "ai competitions".

I really like these competitions for learning (new) languages.

Re:TheAIGames – Develop your coding skills by competing in v... by ceyhan on Friday May 06, 2016 @10:59AM (#11644419)
Hi,

You can contact us at [email protected] Then we can look at your projects and publish it at theaigames.com if it's suitable. The future idea of theaigames.com is to make a community where developers also can publish their own games.

Re:TheAIGames – Develop your coding skills by competing in v... by nrjames on Friday May 06, 2016 @11:51AM (#11644766)
The Hello World Open was super fun a few years ago; code the AI for a slot car. Their site says they'll hold it again this year:

http://helloworldopen.com/

Re:TheAIGames – Develop your coding skills by competing in v... by jschulenklopper on Friday May 06, 2016 @01:17PM (#11645314)
Yes, although it might be a different challenge than coding the AI for a slot car. "The challenge for 2016 is yet to be revealed."
Re:TheAIGames – Develop your coding skills by competing in v... by proc0 on Friday May 06, 2016 @01:05PM (#11645240)
This like codingame i suppose? So many competitions/puzzle sites out there. I'm definitely liking the AI trend lately, and the game one.
Re:TheAIGames – Develop your coding skills by competing in v... by krasi0 on Sunday May 08, 2016 @05:36AM (#11653355)
If you like these kinds of game AI competitions and are looking for a more serious challenge, you should have a look at [0] (Starcraft Broodwar leaderboard and yearly tournaments). Most mainstream programming languages are supported out of the box (C++, Java, Python, etc.) and there is an active community around the process of bot development. IRC channel: [1]

Besides, talks are that this is the next problem the Google Deepmind team is going to tackle.

[0] http://sscaitournament.com/

[1] http://webchat.freenode.net/?channels=BWAPI

Re:TheAIGames – Develop your coding skills by competing in v... by stefs on Friday May 06, 2016 @06:16PM (#11647090)
i recently tried to implement a monte carlo ai for four in a row, so i thought i'll give this a try.

downloaded the java starter bot and reuploaded it again without much modification. failed.

first, there's a null pointer exception as soon as you try to use the "field" object in the unmodified starter bot. if fixed this.

but now i get:

    Error dump
    Java HotSpot(TM) 64-Bit Server VM warning: No monotonic clock was available - timed services may be adversely affected if the time-of-day clock changes
    Error: Could not find or load main class BotStarter
    
    Input dump
    Output dump
    Running testcase /opt/aigames/etc/tests_fourinarow/test_fourinarow.txt...
    Testing Bot with setup input...
    ... finished testcase in 0.170000001788 seconds
    Test failed: no output

that's it. nothing else.

so a) without having a method of painless local testing before uploading, it gets very tedious and b) the error message "Error: Could not find or load main class BotStarter" doesn't help me much in this case because i do have a class BotStarter with the method main - it's pretty much the starter bot right now.

edit: looks like for local testing i can download the engine source and run it locally.

edit 2:

    javac -d classes @sources.txt
    ...
    java -cp bin com.theaigames.fourinarow.FourInARow ...
looks like this wasn't tested on windows.

edit 3:

got it to run locally. output is:

    stopping...

    Done.
even in dev mode. i have no idea if it worked, what i did, which bot won, etc.

i'm giving up.

Re:TheAIGames – Develop your coding skills by competing in v... by kvark on Friday May 06, 2016 @10:08AM (#11644047)
Sorry, but these contests seem pretty blank to me. Still missing the old good IBM RoboCode. That one was dynamic and fun.
Re:TheAIGames – Develop your coding skills by competing in v... by Frenchgeek on Friday May 06, 2016 @10:17AM (#11644119)
Re:TheAIGames – Develop your coding skills by competing in v... by kvark on Friday May 06, 2016 @10:24AM (#11644174)
Yes! oh, these memories... I may still have the sources of my bots around. Nasty algorithms with zone based tactics, opponent learning with neural nets, stochastic movement patterns, wheeesh.
Re:TheAIGames – Develop your coding skills by competing in v... by ceyhan on Friday May 06, 2016 @10:52AM (#11644367)
We are still busy with new games, tron, kriegspiel and ludo are the next ones coming. Will ask the developers to look on robocode also. Thanks for the tip! :) If you have other nice games for AI, please let us know.
Re:TheAIGames – Develop your coding skills by competing in v... by literumble on Friday May 06, 2016 @12:42PM (#11645099)
I'm the maintainer of LiteRumble [1], which is the official continual rankings of all Robocode bots. The Robocode install includes a client, which (offline) runs the battles that then get uploaded to the LiteRumble server, similar to SETI/Folding@home.

If you need anything on the Literumble which would help with an integration, don't hesitate the let me know. Discussion about developement of all Robocode related things happens on the RoboWiki [2].

1. http://literumble.appspot.com 2. http://robowiki.net

Re:TheAIGames – Develop your coding skills by competing in v... by knicholes on Friday May 06, 2016 @11:46AM (#11644726)
Re:TheAIGames – Develop your coding skills by competing in v... by kvark on Friday May 06, 2016 @12:17PM (#11644934)
Thank you! Looking forward to see your new games, especially since you support Rust ;)
Re:TheAIGames – Develop your coding skills by competing in v... by daveguy on Friday May 06, 2016 @10:55AM (#11644391)
I used to play RoboWar way back. This looks like a similar game. Did this replace RoboWar due to cross platform capabilities? I couldn't find any compare/contrast on the two systems. Anyone have any insight on whether they are related?
Re:TheAIGames – Develop your coding skills by competing in v... by literumble on Friday May 06, 2016 @12:54PM (#11645161)
Robocode has bots written in real Java, and from what I see is more real-physics based. The graphics are more modern, and it is still actively maintained (although it is fairly mature now, bugs are still fixed in usually under a week). Also, in Robocode everybody gets the same capabilities, and everything is up to the AI you write.

What it really needs is a fresh infusion of people, although the barrier to entry for getting a bot in the top-10 is pretty high these days. Your best bet is probably trying for teams, twinduel or a codesize-limited melee bot.

Check out http://robowiki.net for more info.

Re:TheAIGames – Develop your coding skills by competing in v... by daveguy on Friday May 06, 2016 @02:41PM (#11645828)
Very cool. Thank you for the summary -- it does look interesting. I like the use of a real programming language and level playing field in terms of capabilities. It would be awesome if it could be made into an OpenAI gym environment. Although OpenAI is python, so there would probably be quite a bit of code to integrate them properly. I bet it would give a significant infusion.
Re:TheAIGames – Develop your coding skills by competing in v... by nstart on Friday May 06, 2016 @08:52AM (#11643576)
Incredible!!! Thanks for sharing. Will try this out soon hopefully :D
Re:TheAIGames – Develop your coding skills by competing in v... by demircancelebi on Friday May 06, 2016 @08:47AM (#11643560)
Hi OP. I was thinking the exact same thing recently. Is this yours?
Re:TheAIGames – Develop your coding skills by competing in v... by ceyhan on Friday May 06, 2016 @11:01AM (#11644430)
Hi Demircan, Can you explain more with what you mean with " I was thinking the exact same thing recently"
Re:TheAIGames – Develop your coding skills by competing in v... by eggy on Friday May 06, 2016 @09:32PM (#11647894)
Look like fun. I assume Erlang is supported, since they list Elixir? I second the vote for CUDA support!
Re:TheAIGames – Develop your coding skills by competing in v... by cabalamat on Friday May 06, 2016 @11:46AM (#11644721)
What is the motivation for the company/organisation behind this website?
Re:TheAIGames – Develop your coding skills by competing in v... by ceyhan on Friday May 06, 2016 @12:11PM (#11644902)
Primary motivation is to create a comunity wehere programmers can develop their coding skills in a fun and engaging way. We also make it possible for university's to easily host an AI competition privatly for educatinal purposes e.g. pub.theaigames.com. You can check www.riddles.io for more info.
Re:TheAIGames – Develop your coding skills by competing in v... by LordKano on Friday May 06, 2016 @05:26PM (#11646823)
I have always loved these kinds of games.
Re:TheAIGames – Develop your coding skills by competing in v... by lnrdgmz on Saturday May 07, 2016 @08:12PM (#11652000)
Seems like all the links are hard-coded to use http. Any chance you can get the site to work properly over https?
Re:TheAIGames – Develop your coding skills by competing in v... by svarrall on Friday May 06, 2016 @09:24AM (#11643762)
Are you considering Swift support?
Re:TheAIGames – Develop your coding skills by competing in v... by ceyhan on Friday May 06, 2016 @09:34AM (#11643822)
It's a good question, I will ask the developers to support and come back to you with the answer.
Re:TheAIGames – Develop your coding skills by competing in v... by ncx on Friday May 06, 2016 @11:44AM (#11644711)
Sorry, i haven't looked at the website yet, so what I may be asking might be pretty vague and far from reality.

Is the bots api available over http (get/post/whatever)? If no, will it be possible to have one? It will allow a whole lot of programming languages to be used. Just authenticate your bot using some token generated by the website, and then run the bot on your own pc or some server. It will allow us to play with the website with our favourite programming language even if you guys don't officialy support it.

For eg. currently my favourite programming language is Red. It is still in alpha, and is relatively unknown to people, so I don't think that there are any chances to get it supported on the website. But api over http would allow me to play with it as well.

Re:TheAIGames – Develop your coding skills by competing in v... by JoostSA on Monday May 09, 2016 @04:08AM (#11658236)
All communication is done through standard IO between your bot and the server. Opening sockets in your bot is currently not allowed, as this could lead to unfair advantages for players with faster computers.

We're always looking to add more programming languages, so if you come up with a starterbot in Red, we will consider adding support for the language.

Re:TheAIGames – Develop your coding skills by competing in v... by ncx on Saturday May 14, 2016 @03:12AM (#11694876)
Okay...

Right now I am busy, after some time I will work on it...

Where do I contact you if the starterbot is done?

BTW where do I find the starterbots for other languages?

Edit: nvm, found them...

Re:TheAIGames – Develop your coding skills by competing in v... by lynxaegon on Friday May 06, 2016 @06:23PM (#11647137)
Probably that could be done, but for each round you get X milliseconds. If you would run your bot on your pc via api, you could have an unfair advantage, because you could run it in a 64 core cpu (for example) and you have more "time" to do calculations. I really like their idea. It's easy and fair. Also, they do support a lot of programming languages
Re:TheAIGames – Develop your coding skills by competing in v... by ncx on Sunday May 08, 2016 @08:51AM (#11653831)
Agreed.
Re:TheAIGames – Develop your coding skills by competing in v... by JoostSA on Monday May 09, 2016 @04:10AM (#11658242)
We're always looking to add more programming languages. If you can provide us with a starter bot in Swift, we'll be able to add support for the language.
Re:TheAIGames – Develop your coding skills by competing in v... by LogicFailsMe on Friday May 06, 2016 @11:33AM (#11644636)
Why??? No... CUDA???