Sha256: 84dfb5167ef2c79e205dc503ea10c9f8735a97ac4ae64775b0aa0ba11d032eb2

Contents?: true

Size: 1.38 KB

Versions: 54

Compression:

Stored size: 1.38 KB

Contents

# Robot Name

Manage robot factory settings.

When robots come off the factory floor, they have no name.

The first time you boot them up, a random name is generated in the format
of two uppercase letters followed by three digits, such as RX837 or BC811.

Every once in a while we need to reset a robot to its factory settings,
which means that their name gets wiped. The next time you ask, it will
respond with a new random name.

The names must be random: they should not follow a predictable sequence.
Random names means a risk of collisions. Your solution must ensure that
every existing robot has a unique name.

## Resources

Remember to check out the Perl 6 [documentation](https://docs.perl6.org/) and
[resources](https://perl6.org/resources/) pages for information, tips, and
examples if you get stuck.

## Running the tests

There is a test script included with the exercise; a file with the extension
`.t`. You can run the test script for the exercise by executing the command
`prove . --exec=perl6` in the exercise directory. You can also add the `-v` flag
e.g. `prove . --exec=perl6 -v` to display all tests, including any optional
tests marked as 'TODO'.

## Source

A debugging session with Paul Blackwell at gSchool. [http://gschool.it](http://gschool.it)

## Submitting Incomplete Solutions
It's possible to submit an incomplete solution so you can see how others have completed the exercise.

Version data entries

54 entries across 54 versions & 1 rubygems

Version Path
trackler-2.2.1.50 tracks/perl6/exercises/robot-name/README.md
trackler-2.2.1.49 tracks/perl6/exercises/robot-name/README.md
trackler-2.2.1.48 tracks/perl6/exercises/robot-name/README.md
trackler-2.2.1.47 tracks/perl6/exercises/robot-name/README.md
trackler-2.2.1.46 tracks/perl6/exercises/robot-name/README.md
trackler-2.2.1.45 tracks/perl6/exercises/robot-name/README.md
trackler-2.2.1.44 tracks/perl6/exercises/robot-name/README.md
trackler-2.2.1.43 tracks/perl6/exercises/robot-name/README.md
trackler-2.2.1.42 tracks/perl6/exercises/robot-name/README.md
trackler-2.2.1.41 tracks/perl6/exercises/robot-name/README.md
trackler-2.2.1.40 tracks/perl6/exercises/robot-name/README.md
trackler-2.2.1.39 tracks/perl6/exercises/robot-name/README.md
trackler-2.2.1.38 tracks/perl6/exercises/robot-name/README.md
trackler-2.2.1.37 tracks/perl6/exercises/robot-name/README.md
trackler-2.2.1.36 tracks/perl6/exercises/robot-name/README.md
trackler-2.2.1.35 tracks/perl6/exercises/robot-name/README.md
trackler-2.2.1.34 tracks/perl6/exercises/robot-name/README.md
trackler-2.2.1.33 tracks/perl6/exercises/robot-name/README.md
trackler-2.2.1.32 tracks/perl6/exercises/robot-name/README.md
trackler-2.2.1.31 tracks/perl6/exercises/robot-name/README.md