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. Smile
Google is your friend on the second question. You'll find out there's not much general-purpose Lua written code; from my previous experiences in writing Lua scripts for Rockbox, the most common are Lua scripts that are tied to a specific platform like games, game frameworks and the PSP (in the same way the code LuaZM runs is tied to the zmg library, for example).

But since you're looking at something that is more or less generic (i.e. involves more math than graphics drawing or file access) you may have some luck adapting existing scripts.
  
Register to Join the Conversation
Have your own thoughts to add to this or any other topic? Want to ask a question, offer a suggestion, share your own programs and projects, upload a file to the file archives, get help with calculator and computer programming, or simply chat with like-minded coders and tech and calculator enthusiasts via the site-wide AJAX SAX widget? Registration for a free Cemetech account only takes a minute.

» Go to Registration page
Page 1 of 1
» All times are UTC - 5 Hours
 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

 

Advertisement