Skip to content

kargamant/MobileRobots

Repository files navigation

MobileRobots

Cool auto-game project about robots discovering a planet🚀🤖

mobile_robots_mp-ezgif com-video-to-gif-converter

What is game about?

Group of robots is set on square field with 3 types of cells: ground, obstacles and points of interest.
The last ones are what robots are hunting for. To win you need to collect all of them.

Cells

image

Robots

There are several classes of robots that were developed. CommandCentre, RobotCommander, RobotDestroyer, Kamikaze and many more.
In sand box mode they can be purchased at robot store for ai-coins(to be said later).

for_github2

Modules

Sensors, energy generators, cpus and even guns can be set on robots.
Also can be purchased in module store during game.

for_github3

How is it played?

There are 2 modes avaliable: sand-box and ai.
Sand-box mode is a basic single player mode. You control robots. Ai mode is an auto play mode. Ai plays for you.

Sand-box mode

A normal single player mode. It was mostly used for testing purposes, so not always stable.
Some robots are randomly spawned on field, but you can purchase more for coins that are given at start of the game.
Also coins can be spent on modules in module store. Spend them wisely, cause some robots might remain uneffective😢.
To play it you have to build the project and run it with -sand-box flag.
$ ./main -sand-box

Controls are the following

left mouse click - choose a cell, robot to see information about it.
right mouse click - choose a module to see information about it.
- to move a robot that you have chosen. p - to open robot store.
m - to open module store.
s - to subdue a robot(if a rulling robot is being handled).
r - to release a robot(if a rulling robot is being handled).
d - to destroy a robot(if a destroying robot is being handled).
c - to connect module to power(if an energy generator is being handled).
o - to turn on module.
g - to get report from subordinate(if a rulling robot is being handled).
e - to dissconect module(if an energy generator is being handled).

AI mode

Ai plays for you.
Developed algorithm was based on A-star path-finding algorithm and developed priority system for every robot class.
To play game with this mode run:
$ ./main -ai
This mode is availiable with following flags:
-mthread - game will be played with multi thread ai algorithm instead of regular one.
-wmode - turns on graphics(unavailiable with multi thread mode, because multi thread algorithm was developed for big fields that can't normally fit into window).

About

Cool auto-game project about robots discovering a planet.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages