Guide: How to participate on a Geometry Friends Game AI competition?
Pick a competition from the competitions page!
- The name of the competition. Clicking it will lead you to a page showing you additional details of the competition.
- You can only submit to Open competitions, which means before their end date.
- If you don't have a copy of the Geometry Friends game, you can download the pack. This includes the game, a starting agent for you to build upon and the specific public levels (world) of the selected competition. (Note that even when downloading a pack from an old competition, the downloaded game will always be the most recent version, which may result in inconsistent results when testing old levels)
- If you already have an up-to-date copy of the game, you can simply download the world file and place it in the GeometryFriendsGame/Release/Levels folder.
- Please note that every competition is divided into two main stages, and that the final score is the sum of the scores obtained in both stages:
- before the competition ends, every submission will only be evaluated on the competition's public levels, and the score will be only an indication of the agent's performance. Participants may submit as many times as they like during this stage;
- after the competition ends, every submission will be automatically evaluated on the remaining levels, that is, on the competition's private levels. The obtained score will be the final score. No further submissions are allowed.
- Public levels are levels you have access to before the competition ends. Private levels are made publicly available afterwards. Private levels prevent rewarding of overfitting agents.
- All dates are in Lisbon time.
Create your first agent!
- After extracting the competition pack, go ahead and open the solution file (.sln) in your favourite C# editor (e.g. Visual Studio, Monodevelop).
- Be sure to add the GeometryFriends.exe as an existing project to your solution by right clicking your solution in your IDE and selecting Add... Add Existing Project.
- Afterwards, set the newly added GeometryFriends project as a startup project by right clicking on it and selecting Set As Startup Project.
- Even without making any changes, you should be able to build and run your solution.
- Inside the game, select your agents in the Options and test them in the Agents Only section.
- While developing an agent, make sure not to put any additional files in the 'Content', 'Levels' or 'Results' folders.
- Visit our parent's site knowledge base to know more details on how you can build and run your agents.
Prepare your submission!
- If you think you have what it takes to destroy your opponents, it's time to zip your source code.
- Create a zip file containing your agent's files: '.sln', '.proj', '.cs', etc. Make sure your ".sln" and ".proj" are in the root directory of the ZIP file.
- If you have a simple solution and didn't place any additional files anywhere inside the GeometryFriendsGame folder, then you can exclude the folder from your zip file.
- Don't worry about your agent's '.dll' file because we are going to compile your solution ourselves!
- On the other hand, if you have a more complex solution where you needed to place files anywhere inside the GeometryFriendsGame folder (e.g. dll's of dependencies) then you can include everything in your zip file. Just make sure everything can be built as is.
- If you are unsure, you can always use one of the provided packaging scripts:
- "windows_packaging_script.bat" on Windows (requires 7zip installed and on the PATH environment variable)
- "linux_and_macos_packaging_script.sh" on a Bash shell, in Linux or MacOS
- The script will generate a zip for you that you can use to submit. You can open the scripts and see what they are doing ;
Submit!
- Go back to the competition you wanted to submit to in the competitions page and this time click on 'Submit an agent'.
- If you aren't logged in, the above action will lead you to a login page. If you don't have an account yet, be sure to Sign Up.
- Pick the platform you used when developing your solution. This is to avoid problems with platform specific dependencies. Mac users should be fine selecting Linux
- Browse for the zip file you created in the previous step and select it for upload
- Also upload a 2-4 pages report (in pdf format) containing a description of your solution using the IEEE Manuscript Templates for Conference Proceedings
- Both of these files will be made publicly available after the competition ends.
- Remember that you may submit multiple times to a given competition BEFORE ITS END DATE, but only your last (most recent) submission will matter for your final score.
Generating submission videos (OPTIONAL)
- The system is also capable of generating videos of any handled submissions that didn't fail (e.g. that didn't get an error such as an extraction error, compile error, etc.)
- This is done in the scoreboard by clicking on the button marked in the picture above. It is only possible to request videos of your own submissions.
- Once a video is requested, it will take some time for the videos (one for each level of the competition) to be available in the expanded scoreboard of the submission.
- If the competition isn't finished yet, only videos corresponding to the public levels will be made, which is why most of the time it will only make sense to request videos at the end of a competition.
- Currently, this can only be done once per submission. This means that if you request videos before the competition ends, you'll only get videos of the public levels and will NOT have the videos for the private levels. However, if a competition hasn't finished yet, you can simply re-submit, wait for the results and then request another video.
- Note that the videos may have very low framerate. This is normal.
Want to know more?
- Be sure to check out our parent site.
- It has more information and details on:
- how you can write your agents
- run them using the command line
- create your own levels
- view results of competitions held before 2018
- and much more!