Jump to content




[Project Idea]Sudoku


  • You cannot reply to this topic
23 replies to this topic

#21 LuaEclipser

  • Banned
  • 220 posts
  • LocationCleveland, Ohio

Posted 15 March 2013 - 09:53 AM

my brain hurts just thinking on how to do it



there have been many attempts, and many fails. who will succeed?




CHALLENGE.ACCEPTED

#22 Kryptanyte

  • Members
  • 95 posts
  • LocationNew Zealand

Posted 15 March 2013 - 06:14 PM

LuaEclipser, I think I may have an idea for an algorithm for leaving the numbers on the screen, so its an actual playable sudoku I'll try and come up with it and send it to you if you are able to do the rest?

#23 Zanoab

  • Members
  • 5 posts

Posted 16 March 2013 - 06:19 PM

I think I'll take on this challenge as well. Funny thing is that generating a random valid solution is just as difficult as turning a solution into a puzzle without multiple solutions.

While writing my board object initialization code, I realized you can't just up and put random numbers. I did a quick test on paper and if you don't restrict your number generation after generating the first few numbers, it is possible for the board to end up with "bubbles" and instantly becomes an invalid solution.

What I mean:
Spoiler

td;dr version: we are literally writing a sudoku solver that supports blank boards (strategically and/or bruteforce). :lol:

#24 SuicidalSTDz

    Permutator of Strings

  • Members
  • 1,308 posts
  • LocationPennsylvania

Posted 16 March 2013 - 06:22 PM

Glad to see people taking an interest in this.





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users