PocketEuler icon indicating copy to clipboard operation
PocketEuler copied to clipboard

Color and problems 116, 114 and 117

Open jayvdb opened this issue 9 years ago • 3 comments

Problem 116 uses colour to convey sizes of blocks, using a HTML table with different colored cells and an image https://projecteuler.net/images/spacer.gif

https://projecteuler.net/problem=116

Pocket Euler valiantly attempts to do this without color or images, using box drawing characters, but it seems unnecessarily difficult to understand the problem.

https://github.com/imsky/PocketEuler/tree/1e4be304b3e#problem-116

One part of the communication problem is that using characters like seems to suggest there is meaning in the gap between the two vertical bars. using would probably be better.

If we really want to avoid color, the boxes should be much bigger and include some visual clue (ideally 'red', 'green', 'blue') in the boxes to indicate where color has been omitted.

But color is useful!

IMO a small image or SVG (see https://gist.github.com/CyberShadow/95621a949b07db295000 ) would do the trick -- there are no words, so it also isnt a translation problem.

jayvdb avatar Jun 16 '16 09:06 jayvdb

good idea

imsky avatar Jun 16 '16 16:06 imsky

Problem 114 has the same problem to a limited extend as it is only red and black, and could easily be white and red, but it is not easy to understand the example without color.

jayvdb avatar Jun 28 '16 12:06 jayvdb

Problem 117 also has the same problem as 116, requiring multiple colors.

jayvdb avatar Jun 28 '16 12:06 jayvdb