Comments (2)
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.
from sudoku.
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.
from sudoku.
Related Issues (17)
- ./sudoku -s <filename> clears terminal HOT 1
- -G doesn't work HOT 1
- Maybe add colors? HOT 3
- Dealing with Flags that are Mutually Exclusive
- Generate Probably shouldn't Require outputfile
- Main Menu is Super Ugly
- Quitting Takes Way too Long HOT 1
- Let Menu Take Both Shortened and Full Commands HOT 1
- Windows Compatibility
- Clearing the Terminal HOT 1
- Full Linux Integration
- Updating selections to use arrow keys?
- MacOS Compilation HOT 1
- Pressing unrecognized alphabetic letter when focused on square causes strange behavior
- .sudokurc File
- Better Makefile
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sudoku.