evanpipta / logophile

A word game inspired by boggle. Written in Node and playable in a web browser.
http://logophile.online/
GNU General Public License v2.0
2 stars 0 forks source link

Background color gradient based on solution #45

Open evanpipta opened 7 years ago

evanpipta commented 7 years ago

CSS example of how this could look: http://codepen.io/moonphase/pen/GqjmJN

This requires colors and weights to be defined to each letter, we should try to go with a palette that is appealing, so maybe we can group several letters together into a single color. 3 colors can be rendered at the same time if we decide to go with a gradient

The top 3 colors should be computed on the backend whenever the board is solved, because it requires the solution but we don't want to send that to clients