imsky / PocketEuler

:heavy_plus_sign: Offline version of Project Euler.
116 stars 11 forks source link

Color and problems 116, 114 and 117 #43

Open jayvdb opened 8 years ago

jayvdb commented 8 years ago

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.

imsky commented 8 years ago

good idea

jayvdb commented 8 years ago

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 commented 8 years ago

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