The 'board' is represented by a three dimensional array with each dimension being 3 long. This approach would also work nicely for hex Sudoku.ġ. Since no one has taken the challenge to say how they would approach this problem I will go first. Some time when I get bored I'll write it again and post it here if anyone's curious. I did this at tech school, and don't have a copy. When you lost, an industrial buzzer turned on and the lights all blinked for 1 second. ![]() If successful, the speed was increased and one more step added to the sequence which would repeat until you lost. To start, the computer would flash the sequence of four lights starting at that "random" index, then wait a limited time for the player to repeat it by pushing the buttons. When you pressed the start button to start the game, a free-running timer acc was stored as the "random" index. It had a data table I filled with a pseudo-random sequence for one light on per step. same sentence? I wrote a sequencer demo that used six lighted pushbuttons to create a simple simon game. It was always tough to make the computer AI stupid enough, or slow enough to make the player vs. I started my computer interest as a hobby making computer games on Atari 400. Perhaps simpler to generate "any" puzzle but a much harder task to make puzzles people would want to play No, I don't have the time, just think about it. Generating the problem may mean generating the solution too and then evaluting it. A PLC would take longer because of its scans. So quickly that I doubt it would take a tenth of a second. A computer can make these tries very quickly. ![]() If it doesn't work then one must back track and try the other combination. In some cases there are situation where none of the square have only one option so one must search ahead by 'trying' a number and then trying to find a solution. The simple Sudoku puzzles are simple deduction problems where one can simply elimanate options until the puzzle is complete. The puzzles can be graded by the number amd depth of look ahead situations that arise. Perhaps simpler to generate "any" puzzle but a much harder task to make puzzles people would want to play and even harder to "grade" the puzzle as to it's difficulty level (something that seems necessary for publication).
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |