Author Topic: [LuaZM] Sudoku (please help)  (Read 3792 times)

0 Members and 1 Guest are viewing this topic.

Offline flyingfisch

  • I'm 1337 now!
  • Members
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1620
  • Rating: +94/-17
  • Testing, testing, 1...2...3...4...5...6...7...8..9
    • View Profile
    • Top Page Website Design
[LuaZM] Sudoku (please help)
« on: December 21, 2012, 12:00:46 pm »
I am trying to make a sudoku game in LuaZM. Right now I am stuck at how to generate a board.

So my first question is, does anyone have an algorithm, and my second is if there is already a lua sudoku board generator that i could use without having to reinvent the wheel. :)



Quote from: my dad
"welcome to the world of computers, where everything seems to be based on random number generators"



The Game V. 2.0

Offline Nick

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1166
  • Rating: +161/-3
  • You just got omnom'd
    • View Profile
    • Nick Steen
Re: [LuaZM] Sudoku (please help)
« Reply #1 on: December 27, 2012, 07:07:17 am »
I know it's not in Lua, but here's one that includes generator and solver. It can be useful to base your own code on.

Offline Levak

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1002
  • Rating: +208/-39
    • View Profile
    • My website
Re: [LuaZM] Sudoku (please help)
« Reply #2 on: December 27, 2012, 07:15:20 am »
Hi
You may have a look to this.
I do not get mad at people, I just want them to learn the way I learnt.
My website - TI-Planet - iNspired-Lua