Robots: Difference between revisions
Content added Content deleted
mNo edit summary |
Thundergnat (talk | contribs) (Rename Perl 6 -> Raku, alphabetize, minor clean-up) |
||
Line 6: | Line 6: | ||
Simple game where its only objective is to escape from a number of robots, which have been programmed to kill the player. |
Simple game where its only objective is to escape from a number of robots, which have been programmed to kill the player. |
||
<br><br> |
<br><br> |
||
=={{header|C++}}== |
=={{header|C++}}== |
||
Line 28: | Line 27: | ||
See [[Robots/Kotlin]]. |
See [[Robots/Kotlin]]. |
||
=={{header| |
=={{header|Phix}}== |
||
⚫ | |||
⚫ | |||
(formerly Perl 6) |
|||
The bots single-mindedly chase you, taking the shortest path, ignoring obstacles. Use arrow keys to navigate your character(╂) around the board. Avoid bots(☗) and hazards(☢). "Kill" bots by causing them to crash into hazards or other bots. A dead bot creates another hazard. If you eliminate all of the bots on the board, another wave will spawn in random positions. If you touch a hazard or are touched by a bot, you die(†). |
The bots single-mindedly chase you, taking the shortest path, ignoring obstacles. Use arrow keys to navigate your character(╂) around the board. Avoid bots(☗) and hazards(☢). "Kill" bots by causing them to crash into hazards or other bots. A dead bot creates another hazard. If you eliminate all of the bots on the board, another wave will spawn in random positions. If you touch a hazard or are touched by a bot, you die(†). |
||
<lang perl6>use Term::termios; |
<lang perl6>use Term::termios; |
||
Line 230: | Line 234: | ||
████████████████████████████████████████████████████████████████████████████████████████████████████ |
████████████████████████████████████████████████████████████████████████████████████████████████████ |
||
Survived 117 bots, but succumbed in the end.</pre> |
Survived 117 bots, but succumbed in the end.</pre> |
||
⚫ | |||
⚫ |