This is the final project in Matlab lab. This is a competition between students.
In this game there are two robots competeing against each other, with fuel tanks and bombs scatter in the area, when each bomb reduces fuel ammount and each fuel tank increases fuel ammount. When the robots touch the one with more fuel wins.
We got some simple examples to understand the game better("robotstrategy_.m)
Everyone wrote their own algorithm for their robot to tell it how to move in his next turn, according to the current situation in the game(how to avoid bombs, when to chase the enemy etc).And then the lecturer made the robots compete against each
other, in a way that every robot competed with every other robot 10 times. The robot that won the most ammount of games got 1st place and so on.
My robot is written in the "MyRobot.m" file, and I won 3rd place in this competition.
To run the code simply run the"rungame.m" file.
-
Notifications
You must be signed in to change notification settings - Fork 0
AlexLevitin/Matlab-Robots-Competition
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
A competition between different people on matalb
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published