bgri / m100LE

A Wordle-like game for the vintage Tandy (Radio Shack) Model 100
11 stars 1 forks source link

Use reverse video to show Right Letter & Right Place #29

Open hackerb9 opened 2 years ago

hackerb9 commented 2 years ago

Currently, if the correct letter is guessed in the right place, it will be shown only in the CLUES box, but appears as an asterisk in the ALPHABET box.

It would be nice if correct letters were shown in reverse video:

πŸ…°πŸ„±πŸ„²πŸ„³πŸ…΄πŸ„΅πŸ„ΆπŸ„·πŸ„ΈπŸ„ΉπŸ„ΊπŸ„»πŸ„Ό

πŸ„½πŸ„ΎπŸ„ΏπŸ…€πŸ…πŸ…‚πŸ†ƒπŸ…„πŸ……πŸ…†πŸ…‡πŸ…ˆπŸ…‰

This could be done by making A1$ and A2$ include the escape sequence for "normal video" (Escq) before each letter. Then the letters which have been found can have the preceding q changed to a p for reverse video.

hackerb9 commented 2 years ago

Additionally, instead of showing question marks, it might be good to find a different solution for letters which are in the wrong position. Perhaps lowercase letters? Or, by adding marks outside of the ALPHABET box? It might even be possible to make the wrong position letters be half bright by switching rapidly between displaying and erasing them while waiting for INKEY().

bgri commented 2 years ago

Nice! I was thinking of 'reverse video' initially, but dismissed it as I couldn't be consistent with the ones that were 'right letter, wrong place'.

Rapidly display and erasing is a good option. Maybe flipping between 'normal' and 'inverse' for those, or I'm also thinking maybe switching between proper letter and 'grey' box: image

I guess it all depends on what they look like on the hardware. Emulators are one thing...