Skip to content

ROI Training

Welcome to the AI RoboBall Challenge!

VEX AIM Robot

In this challenge you use Gemini Code Assist to write Python code to control a VEX AIM robot, to play a short game of football against an opponent. The highest number of goals scored wins!

If you want to play the game, please read through this page while you wait your turn 😄

Getting Started

  • You'll be writing code using VSCode preconfigured with the Gemini Code Assistant
  • You will be given enough code to get the robot to play a basic game of football
  • The challenge is to improve the robot as a player! Think about what the robot could do better, and explain it to Gemini, which will then write the code for you.
  • When you've had a few trial runs with your robot, get ready to compete in a 3 minute match!

The challenge is to use Gemini to write the best code you can in the time given, to score the most goals!

As a human, you can think about the physical challenges of the game, then express and explore solutions using natural language prompts. Gemini will then do the hard work of turning your ideas into code, which will run in micro-python on the robot itself. Some suggested prompts are:

  • "Make the robot search for the ball in a more efficient way"
  • "Speed up the robot's movements once it has the ball"
  • "Add a function to detect the oppoponent robot and move away from it"
  • "Change the robot's emjoi when it detects the opponent robot"

Find Out More

Promo Video