Discussions: Four In A Row

Discussionpostsviews
Four In A Row is here! Hello dear coders, Today we launched our latest competition: Four In A Row! This competition differs from our other competitions in the way that is quite a bit easier to write a bot for, but we want...
16 2803
Can't play matches As of today my bot can't play any matches (either manually or ranked) . Whenever I try to challenge an opponent I get stuck in the "Waiting for game to be played..." screen. I also took a look on the ...
0 26
Board State Tree ? This question may seem dumb but I'm really new to Artificial Intelligence... In the context of a AI course that I'm attending, I have been tasked to code an agent for any one of the projects available...
3 66
Light Riders (new competition announcement) Hi devs! I'm happy to announce that next monday (May 1st) we're launching Light Riders on Riddles.io (our new platform). We'll be launching more new competitions on Riddles.io in the coming months.So...
0 82
Is someone willing to share a C++ starter bot? Pleace Is someone willing to share a C++ starter bot?
0 68
Input test failed I've been trying to upload a java bot a few times now. It compiles fine but then it says input test failed. I've downloaded and altered the ready-made java bot and can't see what is causing this probl...
2 96
Four In A Row compile failed with no information in Error Dump I'm using C++ and the compile works locally, but when uploaded the compile fails. In the Error Dump output there is nothing though so I can't see what is going wrong. To see if the compiler was work...
0 74
Starter bot (engine output) Is there a possibility to get from the engine information about who won,lose or draw? Or you need to write the algorithm based on the state of the board?
0 140
Game failing due to "java not found" A lot of games (not all) are failing with the following error : Error dump /bin/runai: 2: /bin/runai: ./java: not found leading to player 1 losing the game after one move. Could you have a look at ...
0 111
c# starter bot Can you explain to me,please,how to compile c# starter bot and run it with this line: java -cp classes com.theaigames.fourinarow.FourInARow [your bot1] [your bot2] 2>err.txt 1>out.txt?
0 118
Error: Writing to bot failed Hello,i'am installed the engine according to instructions on the github. But when I try to run it from the command line via this line: java -cp classes com.theaigames.fourinarow.FourInARow "java -cp D...
0 138
Quick Question about Python Input Hey guys, I've managed to create my first bot for the four in row challenge in Python. I'm just wondering why the engine doesn't let you use Python 3's input() and print() functions to process input a...
2 417
Storing Data Between Games I'm writing a neural network bot that uses synaptic.js. I want it to learn to play from the bots it plays against. I'm trying to have the network stored in a file that keeps the neurons and connection...
1 202
Value Returned How could I determine if the disc of a certain cell is mine? What is the value of the getDisc() returned?
1 183
Error whilst compiling Error dump javac: no source files Usage: javac use -help for a list of possible options What to do?
1 140
Monte Carlo Tree Search bot Hi all, This is my implementation of a bot. https://gitlab.com/dcunhas/four-in-a-row
3 673
Would your bot break if the game field was expanded? Currently it's a standard 6x7. Can your bot tackle arbitrary field sizes or would it break? My bot so far is very simple but at least it would not break. :)
0 210
Numpy I am creating a program with python and I am trying to use numpy. However, it does not work: import numpy as np ImportError: No module named numpy Could you install numpy for the python compiler?
5 638
Rust Compilation ERror My upload fails to compile and this is the output in my error dump: could not find Cargo.toml in /opt/aigames/bots/player577820f95d203c0538cc86c5v2/src or any parent directory I'm using the rust star...
4 279
No Output from my Bot Hi, I have this part of code: if (command[0] == "action" ) { cerr << "placedisc 3"; cout << "placedisc 3"; } I can see "place_disc 3" in the error dump. But my...
1 291
My bot isn't playing games I am new to this site and I don't understand why my bot is not playing games? I uploaded it 30 h ago, and it only plays a game if i challenge someone else. Why is it not automatically playing games fo...
1 473
Four in a ground-gitlab I'm posting this bot as part of my assignment for CS383, UMASS Amherst. https://gitlab.com/wongct/CS383-Final-Project
1 421
Change to the way matches work? It would be great to remove some of the noise from the ranking system. Going first or second greatly affects whether a bot will win or lose. What about making all match-ups result in two games with th...
3 376
four in a row example I'm linking my submission for four in a row. Some of the code could be cleaner. It was part of a final project for an AI class. Feedback is appreciated! https://gitlab.com/atvatsa/383
0 441
Critique my implementation! Hello everyone. I have written up a bot for Connect Four and would love to hear some feedback on it. My bot uses a minimax strategy to assess the costs/benefits of playing each potential move at each...
0 430
My Bot! Critiques welcomed! Hey all! I am currently taking an Artificial Intelligence course at UMass Amherst and our final project involved creating a bot to compete in one of the games here. The following link is to my github ...
0 439
Four In A Row - Gitlab Code - School Project (CS383) Hello, I am required to post my code used for an assignment for school. Feel free to take a look or just keep on scrolling, code is fairly sloppy in places, so apologies if you have to look. https://...
0 324
Is someone willing to share a Python starter bot? Is someone willing to share a Python starter bot? I would like to learn Python and it's to hard for me to make the communication part with the game engine by my self.
2 425
Bot strategies Hello Let's talk about our bot strategies. I'm using a simple basic evaluation function that I found somewhere in the internet. So I'm looping over all (I believe 69) victory possibilities, give lit...
12 1500
Suggestion: more unique games If two bots always play in the same way, there is no sense to play more than two games between those bots because the start position is always the same. So the proposal is to start with two stones al...
6 664
Looking for somebody to form a team Hi I would like to form a team and divide tasks to play this game. Is anyone interested? Thanks
5 391
Input test failed... Test failed: no output C++, i've tried 32 versions please help! Hey guys i need some help. I've been trying to get my new bot to work for days and cant seem to get it to work. On my PC it works great and i have no issues outputting, but on the site i keep getting ...
3 393
User interviews for the AI-Games Hi there! My name is Jarmal and I'm the new designer here at the AI-Games/Riddles. I'm currently looking for users (you guys) to interview for future improvements for the AI-Games/Riddles. I'm especia...
0 272
Local use of the game engine I can't get any bot to run offline with the provided game engine. I followed the steps given in the readme, but when I try to run the unedited java starterbot, the output is just "Stopping.. done" and...
1 556
Clojure Bot Fails to Upload Hey There, I have read through all the clojure-ish threads in other games and cant seem to find a solution. This is the error Error: Could not find or load main class clojure.main And this is the ...
1 326
PHP error My (old) bot which was working OK even with Four in a row beta, has some problems: /bin/php: error while loading shared libraries: libonig.so.2: cannot open shared object file: No such file or direct...
5 305
Error compiling ruby bot I cannot compile my Ruby bot for connect four. I get a strange series of errors on upload that finally just shows this: :4:in require': cannot load such file -- rubygems.rb (LoadError) from :4:in' T...
2 271
OSError: [Errno 1] Operation not permitted. This isn't my error? Hi, I just got the following error when attempting to upload my bot source code. My bot is written in Java, yet the Error dump is giving Python errors: Error dump Java HotSpot(TM) 64-Bit Server VM ...
1 387
How does my bot tell between colors? In the example shown at the Getting Started section, the field string seems to just have 0's for empty cells and 1's for used cells, but no way to distinguish between your cells and opponent cells. Th...
5 454
Simple C# bot not outputting Hi guys, I created a simple test bot to see how it's working in the competition. It uploads and compiles fine (altough gives me a message "mount: /proc is busy"), but then it runs an input test but i...
1 317
Stuck queuing to compile? I uploaded a bot 8 hours ago and it still says "In queue for compilation". Is this just me?
0 292
Input test fails, no explanation Hello guys ! I'm having trouble submitting my C++ bot : it fails on input test before any input is actually sent and I can't get why. A std::outofrange error is raised while I have absolutely no trou...
0 312
Input Test Failed Hello, I am getting an error "Input test failed..." with absolutely no entries in "Output", altough I have quite excessive diagnostics in my bot. It is written in C++ and I am using stderr to print de...
3 404
Javascript bot To begin with, I am trying a random bot (In Javascript) just to understand how this works. It compiles fine, but for the test case, it fails. In my tests it is producing correct output, but when run ...
1 507
Different results in test match and my own testing Whenever I upload my bot a test match is run against some random bot. Since I also dump my computations to the error file I can view the results. However, when I use the same inputs from the test matc...
3 314
C4 Problems (and Solutions!!) Hi all, I just wanted to throw out my ideas concerning the current implementation of the Connect Four ranking system. I understand that connect four is the "beginner project" and also a solved game, ...
3 517
Test game I'm trying upload bot 7 times and always get "Test match failed..." and clear log like this http://theaigames.com/competitions/four-in-a-row/games/5671bb1a35ec1d6b9f2fb108/dump Any ideas?
2 453
No monotonic clock was available I'm getting this strange error in my test output: 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 chang...
4 908
Can't submit Javascript bot Hello, I've tried submitting a javascript bot many times now but without success. I created a top level .js annotated with a main (cushioned by double-underscores) in a comment, put it all in a tar.gz...
3 439
bug in getting-started example both playing bots seem to have botid==1 http://theaigames.com/competitions/four-in-a-row/getting-started is: update game round 2 update game field 0,0,0,0,0,0,0;0,0,0,0,0,0,0;0,0,0,0,0,0,0;0,0,0,0,0...
0 409
Can't get new version of bot enabled Hello, I appear to be unable to enable a new version for my bot. It's uploaded and checks out with "Test match success!" but if I try to press "set" on the new version I get the message: "Error: Y...
4 371
Several small bugs Some small bugs: Sometimes when I challenge an opponent, the game just does not start. In the game log I see it remains in status "being played" for about 10 minutes. After that it just disappears f...
4 488
How to propose a starter bot for a game ? Hi, I would like to know how to propose a starter bot for Four in a line or future challenge. I have search in the interface but didn't find where it can be submitted. Thanks in advance, PS: I'm no...
1 494
Uploading the bot When I upload the starter example bot (without changing anything), I get the following error message "Error: Could not find or load main class BotStarter". What I do is the following: take the 3 files...
3 494
Different update game field commands I'm having trouble uploading my bot to the competition. What I've noticed is that for the input test, the update game field is: update game field 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0...
1 442