Skip to content

Instantly share code, notes, and snippets.

@pi0
Created October 19, 2014 19:27
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pi0/799b6201fe5b55c0aa63 to your computer and use it in GitHub Desktop.
Save pi0/799b6201fe5b55c0aa63 to your computer and use it in GitHub Desktop.
GameClassDiagram
{
class Entity
{
class Unit
{
class Human
class Robot
{
class SoldierBot
class ShieldBot
class SignalRepeaterBot
?class RepairBot
}
}
class Building
{
class Warehouse
?class Obstacle
}
}
}
The game is about a few humans trying to establish a firm foothold in a new planet using robotic agents. To achieve this, they must compete with other humans and their robots who try to do the same.
All of these groups use the same technology of robots which were found in the planet itself. These bots depend on radio communication with one of the humans to perform their tasks.
There is no encryption available for the communicated data, and all the bots use the same radio frequency and protocol to communicate. Thus, the only factor that determines who controls a bot is who has a stronger communication signal with the bot.
Each one of the team`s Humans combined with a SignalRepeaterBot can be a command center. SignalRepeaterBots with no Human near them can only amplify the strongest signal, making it even stronger. SignalRepeaterBots are not influenced by their own signal.
If two or more signals are all the maximum signal at a bot`s location, the bot will be uncontrolled.
Every cycle, each team will be provided a set amount of energy. Every robot consumes energy by doing actions. Some actions can be given an argument as "Action Strength". The more the action strength is, the more energy the action consumes.
There are several types of robots available.
SoldierBots have a ranged attack. Stronger attacks require more energy.
ShieldBots can generate a shield around them, absorbing damage taken by nearby friendly bots by spending energy.
SignalRepeaterBots make it possible to increase the operational range of a team's robots by amplifying the team's radio signals. Emitting stronger signals requires spending more energy.
RepairBots can repair damaged or destroyed robots by spending energy. Only a limited amount of repair can be done in each cycle.
There are also buildings present in the game.
Warehouses contain several robots which can be brought to the game.
Vision:
Teams have a limited vision. Each controlled bot sees an area around it. Also, every owned tile is visible for the owner.
Winning conditions are not available yet.
capture the flag (move an important object to an owned base)
death match (kill all the humans)
king of the hill (holding a key point gives some score every round)
???
Robot Production: Robots can either come in limited quantities, or be produced in a relevant building type. Robots can either be upgraded from a weaker type or come in their final version only.
Movement: Obstacles might require bots to spend more energy or completely stop them from passing by.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment