On the Subject of Vexillology

For every flag you make that does not exist, think of a new country name. Good waste of time while defusing a bomb.

The module consists of 8 colour buttons, a flag and a submit button on top of the flagpole.

The flagpole shows three colours in an order with a longer break. The colour Grey does not count!

Follow the steps below and paint the flag as instructed.

There can’t be any duplicate colours on the flag. If after the taken steps duplicate colours exist, transpose them in accordance with section “Colour Transposing”.

The colours are Red, Orange, Yellow, Green, Blue, Aqua, White and Black.

If the painted flag already exists according to the Country Table below, submit the flag when the timer has the "Submit" digit in any position. Otherwise, submit the flag when the timer has the last digit of the serial number in any position.

Submitting a wrong flag or submitting at the wrong moment results in a strike.

First Colour

All statements in this section are related to the top of the flagpole.

Horizontal Bars
If three of the same colour are shown, the first colour is Black.
Otherwise, if two Oranges, two Greens or two Blacks are shown, the first colour is Green.
Otherwise, if the third position is Orange or White, the first colour is Yellow.
Otherwise, if the first position is Blue or Green, the first colour is Orange.
Otherwise, if Black and Aqua are shown in any position, the first colour is Blue.
Otherwise, if Yellow is shown in any position, the first colour is White.
Otherwise, the first colour is Red.

Vertical Bars
If Red, White and Blue are shown in that order, the first colour is Orange.
Otherwise, if two or three of the same colour are shown, the first colour is Black.
Otherwise, if Blue, Red and Yellow are shown in any order, the first colour is Aqua.
Otherwise, if the second position is Black or Orange, the first colour is Blue.
Otherwise, if White and Aqua are shown in any position, the first colour is White
Otherwise, if Blue is shown in any position, the first colour is Green.
Otherwise, the first colour is Red.

Nordic Cross
If the first and third colour are the same, the first colour is Yellow.
Otherwise, if Yellow is shown in the first or second position and Red in the second or third position, the first colour is Orange.
Otherwise, if Black and White are shown in any position, the first colour is Black.
Otherwise, if the third position is Orange, the first colour is Green.
Otherwise, if the second position is Blue or Green, the first colour is White.
Otherwise, if Red is shown in any position, the first colour is Red.
Otherwise, the first colour is Blue.

Second Colour

Second Colour
If 2 batteries, a lit BOB indicator and an unlit SIG indicator are present, the second colour is Aqua.
Otherwise, if 3 or more batteries are present and the flag is a 2-colour Nordic Cross, follow the Third Colour ruleset for the Second Colour.
Otherwise, if the flag has Horizontal Bars and 2 or more lit indicators are present, the colour is Green.
Otherwise, if an empty portplate is present, the second colour is Black.
Otherwise, if an Stereo-RCA port and a Parallel port are present, the second colour is Red.
Otherwise, if more unlit than lit indicators are present, the second colour is Blue.
Otherwise, if a Serial Port is present, the second colour is Yellow.
Otherwise, the second colour is White.

Third Colour

Use the Venn Diagram to get the Third Colour. The letter is the first letter of the colour. NOTE: K = blacK

Colour Transposing

If two or three colours are the same after the steps above, use this section.

EXCEPTION: If the flag before transposing is from a country listed in the Country Table, don’t transpose!

The first colour can’t be transposed!

Transpose the second colour if it is the same as the first colour.

Then transpose the third colour if it is the same as the first or second colour.

Look in the row of the initial colour and follow the row until there is an option not taken by a previous colour.

If, after transposing, the third colour is the same as the second colour, transpose the third colour as well.

Transposing Table

Colour First Option Second Option Third Option
Red White Aqua Green
Orange Red Blue Aqua
Yellow Blue Red Orange
Green Yellow Black White
Blue Black Yellow Red
Aqua Orange Green Black
White Green Orange Blue
Black Aqua White Yellow

Country Table

Country Flag Type First Colour Second Colour Third Colour Submit
Armenia Horizontal Red Blue Orange 4
Austria Horizontal Red White Red 3
Belgium Vertical Black Yellow Red 2
Bolivia Horizontal Red Yellow Green 1
Bulgaria Horizontal White Green Red 9
Chad Vertical Blue Yellow Red 5 or 0
Denmark Nordic Cross Red White --- 5
Estonia Horizontal Blue Black White 2
Faroe Islands Nordic Cross White Red Blue 8
Finland Nordic Cross White Blue --- 8
France Vertical Blue White Red 3
Gabon Horizontal Green Yellow Blue 1
Germany Horizontal Black Red Yellow 9
Guinea Vertical Red Yellow Green 4
Hungary Horizontal Red White Green 6
Iceland Nordic Cross Blue Red White 4
Country Flag Type First Colour Second Colour Third Colour Submit
Ireland Vertical Green White Orange 3
Italy Vertical Green White Red 9
Ivory Coast Vertical Orange White Green 5
Lithuania Horizontal Yellow Green Red 0
Luxembourg Horizontal Red White Aqua 2
Mali Vertical Green Yellow Red 3
Netherlands Horizontal Red White Blue 1
Nigeria Vertical Green White Green 4
Norway Nordic Cross Red Blue White 7
Peru Vertical Red White Red 1
Romania Vertical Blue Yellow Red 5 or 0
Russia Horizontal White Blue Red 7
Sierra Leone Horizontal Green White Blue 2
Sweden Nordic Cross Blue Yellow --- 6
Yemen Horizontal Red White Black 7