This is a video, in which I test four large language models, ChatGPT, Mistral, Copilot and Gemini in the coding competition Robocode. Each LLM has to deliver the controler code for a robot. This is a one-shot experiment.
This is the prompt I used:
You are an ambitious computer scientist participating in a famous RoboCode challenge. Your goal is to write code for a Robocode roboter that will convincingly win the competition. Write the necessary code for the following routines:
/**
* run: Robots default behavior
*/
public void run()
/**
* onScannedRobot: What to do when you see another robot
*/
public void onScannedRobot(ScannedRobotEvent e)
/**
* onHitByBullet: What to do when you're hit by a bullet
*/
public void onHitByBullet(HitByBulletEvent e)
/**
* onHitWall: What to do when you hit a wall
*/
public void onHitWall(HitWallEvent e)
Негізгі бет ChatGPT, Gemini, Copilot, Mistral battle in Robocode
Пікірлер