OLLEO-DIGITAL / Jervis-Tetch

A Simon game variant influenced by Jervis Tetch, the villain from the DC Batman comic series
GNU General Public License v3.0
2 stars 0 forks source link

Create a function to display the color sequence on game board #20

Open LionOnTheWeb opened 1 year ago

LionOnTheWeb commented 1 year ago

Blocked by #17, #19


Overview

As a Jervis-Tetch player, I want to be able to see the highlighted color sequence on the game board.

Tasks

LionOnTheWeb commented 1 year ago

HSL example:

:root {
    --colorHue = <number 0 - 255>
    --lighting = <percentage 0 - 100>
}

.button:nth-child(<number>) {
    --colorHue = <number>

    &.highlight {
         --lighting = <higher percentage value>
    }
}