Git Product home page Git Product logo

Comments (2)

Zalanshah64 avatar Zalanshah64 commented on July 30, 2024

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.

Zalanshah64 avatar Zalanshah64 commented on July 30, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.