Formalization of the Problem

General Rules

  • All flags have 3 vertical stripes corresponding therefore to 3 blocks.

  • When the user wants a certain color, he should put his finger above the small blocks available close to him.

  • If the robot is bringing the wrong block then he should use the small violet block.

First Version

In the first version the user should request all blocks in the desired sequence.

Second Version

In the second version, the system should use probabilities stored in a database to decide which is the next block. However, the first block should still be requested.

Third Version

In the third version the system should recognize a sequence of flags instead of blocks being able to also provide the first block.