-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
-P Doesn't work #3
Comments
Okay, so we're getting somewhere. As of V1.2.1, I've added implementation that adds a "cursor" to the screen, so to say. The cursor can move around the board using the arrow keys. I also added implementation where you can press a number and it determines whether it's a valid number based on the current things in the board, then marks all issues red. It's pretty cool. Issue with that is, if I have two of the same number on a row/column/subgrid and overwrite one, the second one won't go back to normal and will still be red. Also, there's this issue I have where sometimes when moving the cursor the board flashes. This is cause what's actually happening is the entire screen is being cleared and the board is being rebuilt from scratch. I guess this is just really expensive (as for every single square you have to check whether it is 1. the selected square 1A. if the selected square and valid 2. the square is valid 3. the square is preloaded (i.e. generated) or input by the user. That's a ton of work to do each time, and I've been chewing on a way to make it more efficient, but I'm not totally sure what yet. |
In V1.3.1, I grinded out the play feature. Without the ability to play, this project didn't have much substance. Yeah, being able to generate and instantly solve sudoku boards is cool, but I wanted this to be a little bit more involved. At this point, the entire game is at a point where I'm pretty happy with it. I can't think of what else I'd want to add to improve user experience when playing. |
Play is a work in progress.
Play will allow you to play a sudoku board. You could either generate a random board, or you could use a board you made yourself saved as a .txt file.
The text was updated successfully, but these errors were encountered: