Zalanshah64/sudoku

Maybe add colors?

Opened this issue · 3 comments

Adding colors to the board would be useful.

In version 1.1.0, I added the first implementation of colors to the program. Thus far, it is very basic. When solving:

  • Green represents preadded color
  • Blue represents solved value
  • Though it doesn't have a purpose yet, if an empty square is printed, it will print red

I intend on adding more colors and providing colors for more options as time goes on. Adding colors to the menu would also probably be somewhat useful.

In version 1.2.1, I added the second round of colors.

  • Cursor is highlighted white
  • Invalid squares (ones that double up on a row/column/subgrid) are marked red
  • If the cursor is on an invalid square, the text is marked white

I'd like to experiment with maybe making the red brighter for invalid squares. I'd also like to play with the selected invalid situation, as I think red background with white text might look a little better.

While I remember, I'd also like to add colors to the help menu that marks optional/required parameters with colors.

In version 1.3.1, there's even more colors for when you play.

  • Squares of the same number as the one you have selected will be orange
  • Squares in the same row, column, and subgrid as your selected square will be gray.