4 ms·
If been looking for a game like this or Robocode but where the code that you need to write is written in Rust. Does something like that exist?
by stefanvdw1 4y ago
If been looking for a game like this or Robocode but where the code that you need to write is written in Rust. Does something like that exist?
- fragmede 4y agoA fun programming exercise would be to write it yourself!
- wongarsu 4y agoIn screeps [1] you program your units in JavaScript, which opens the door to using Rust via WASM [2][3] 1: https://screeps.com/ https://screeps.com/ 2: https://github.com/rustyscreeps/screeps-game-api/ https://github.com/rustyscreeps/screeps-game-api/ 3: https://github.com/rustyscreeps/screeps-starter-rust https://github.com/rustyscreeps/screeps-starter-rust
- jna_sh 4y agoYou can play Battlesnake (https://Battlesnake.com https://Battlesnake.com) in anything, Rust is quite popular.
- hr0m 4y agoThis looks really nice. I'll try that out. Do you know more similar games? I.e. where the choice of the programming language is done by the player?
- Karliss 4y agoYou might be interested in bot programming section of https://www.codingame.com/multiplayer/bot-programming https://www.codingame.com/multiplayer/bot-programming . The programming interface is standard input output based so they support a lot of programming languages including Rust. They also occasionally organize live tournaments lasting for a week or two, which introduce a new game. From the names like fall-challange-2021 and spring-challange-2021 I assume those happen no more than every 6 months. In general the ones that are in form of temporary contests often support many languages due to same reason I mentioned before. One thing to watch out that due to sandboxing reasons and the platform needing to compile your code any third party libraries are usually not available. This might be slightly more painful for Rust and their crate based ecosystem. https://en.wikipedia.org/wiki/AI_Challenge https://en.wikipedia.org/wiki/AI_Challenge series used to be good but they are not organizing new ones. VK organizes yearly contests called "Russian AI cup" with very similar format as AI_Challange https://en.wikipedia.org/wiki/Russian_AI_Cup https://en.wikipedia.org/wiki/Russian_AI_Cup . Although participation currently might be messy due to the current political situation. Also the website isn't fully translated to English. List of old contents can be found here https://cups.online/en/contests/?category=ai&utm_campaign=to-allcups&utm_medium=referral&utm_source=raic https://cups.online/en/contests/?category=ai&utm_campaign=to...