Honeycombs: Difference between revisions

From Rosetta Code
Content added Content deleted
(initial content)
 
(single hexagons in a honeycomb arragement)
Line 2: Line 2:


The task is to produce a matrix of 20 hexigon shaped widgets in a honeycomb arrangement. The matrix should be arranged in such a manner that there are four
The task is to produce a matrix of 20 hexigon shaped widgets in a honeycomb arrangement. The matrix should be arranged in such a manner that there are four
rows of five honeycombs. Each honeycomb should be the same colour, and should
rows of five honeycombs. Each hexagon should be the same colour, and should
display a unique randomly selected single capital letter on the front. The application should now wait for the user to select a honeycomb, either by using a pointing device, or by pressing a key that carries a corresponding letter on a honeycomb. The selected honeycomb should now change colour on the display.
display a unique randomly selected single capital letter on the front. The application should now wait for the user to select a hexagon, either by using a pointing device, or by pressing a key that carries a corresponding letter on a hexagon. The selected hexagon should now change colour on the display.


[[Category:GUI]]
[[Category:GUI]]

Revision as of 20:08, 25 May 2011

Honeycombs is a draft programming task. It is not yet considered ready to be promoted as a complete task, for reasons that should be found in its talk page.

The task is to produce a matrix of 20 hexigon shaped widgets in a honeycomb arrangement. The matrix should be arranged in such a manner that there are four rows of five honeycombs. Each hexagon should be the same colour, and should display a unique randomly selected single capital letter on the front. The application should now wait for the user to select a hexagon, either by using a pointing device, or by pressing a key that carries a corresponding letter on a hexagon. The selected hexagon should now change colour on the display.