ErikLundb3rg / typebout

Challenge your friends in typing speed
MIT License
6 stars 2 forks source link

UI - show space errors #46

Closed jonatan-kruse closed 1 year ago

jonatan-kruse commented 1 year ago

Problem

Right now the game shows the letter green when you have typed a letter correct and red when they are typed incorrect. This is nice so that a player can see if they have typed the letter correctly. The problem is that spaces are not green or read so a player gets no feedback when a space is incorrecly typed.

Example

image

Solution

One way to give the player this feedback would be to underline the incorrectly typed space with a red bar.

ErikLundb3rg commented 1 year ago

Should we really do an underline or should we highlight the background of the words like in typeracer? Or we could also have that we only highlight if it is a space error, and otherwise letters.

jonatan-kruse commented 1 year ago

Yes I agree that nu underlines generally but underline if there is and error