Post Reply 
Sudoku editor/Solver
12-02-2014, 08:29 PM (This post was last modified: 02-01-2015 09:23 PM by lenborje.)
Post: #1
Sudoku editor/Solver

.zip  Sudoku_V1.2b_HP_Prime.zip (Size: 29.77 KB / Downloads: 98)
   
   
This is a Sudoku editor/solver for the HP Prime. The GUI is a bit rough, but serviceable.

I submit the code in two file variants, UTF-8 text file and binary. Thanks Thomas for helping me with the binary file. (I have a Mac and can not run the Connectivity Kit directly.)

The GUI includes:
  • Selecting grid size (4x4, 9x9 or 16x16)
  • Clearing the grid
  • Some demo problems
  • Showing trivial hints
  • Solving the problem

Have fun!

Edit: Updated the game.

I have corrected the bug Han found, improved the layout of the board (cf. pictures) and improved speed 10%-30%.

Have fun!

Edit: Second, minor, update. zip updated per:

(02-01-2015 01:48 PM)Thomas_Sch Wrote:  Hello Lennart,

Both of your files open fine in editors like notepad++, SciTe or jedit.
In standard notepad (included in windows) the line breaks are missing.

I'll add the text-File with the windows-line-endings for you (exported from program editor out of connectivity kit).

If I re-transfer the program from Prime via connectivity kit to a folder (drag-and-drop), I will get a file with the ending .hpprgm .
These are non-text files in windows.
For comparison i add also this .hpprgm-File. If you are opening this file in an editor, you will see the difference.

If I open the files from your zip, for example with notepad++, they open as native text files, therefore they should habe the file type .txt.

Thomas

/Lennart Börjeson
Stockholm, Sweden
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
Sudoku editor/Solver - lenborje - 12-02-2014 08:29 PM
RE: Sudoku editor/Solver - Mic - 12-03-2014, 07:10 PM
RE: Sudoku editor/Solver - lenborje - 12-04-2014, 07:06 AM
RE: Sudoku editor/Solver - lenborje - 12-04-2014, 01:18 PM
RE: Sudoku editor/Solver - Gerald H - 12-08-2014, 03:14 PM
RE: Sudoku editor/Solver - lenborje - 12-09-2014, 07:58 AM
RE: Sudoku editor/Solver - Han - 12-09-2014, 12:55 AM
RE: Sudoku editor/Solver - lenborje - 12-09-2014, 07:51 AM
RE: Sudoku editor/Solver - Han - 12-09-2014, 01:48 PM
RE: Sudoku editor/Solver - lenborje - 01-31-2015, 02:26 PM
RE: Sudoku editor/Solver - Thomas_Sch - 01-31-2015, 04:14 PM
RE: Sudoku editor/Solver - lenborje - 02-01-2015, 01:26 PM
RE: Sudoku editor/Solver - Thomas_Sch - 02-01-2015, 01:48 PM
RE: Sudoku editor/Solver - lenborje - 02-01-2015, 08:52 PM
RE: Sudoku editor/Solver - Thomas_Sch - 02-02-2015, 08:12 AM
RE: Sudoku editor/Solver - debrouxl - 02-02-2015, 08:33 AM
RE: Sudoku editor/Solver - Guenter Schink - 12-20-2016, 03:37 PM
RE: Sudoku editor/Solver - lenborje - 12-20-2016, 03:40 PM
RE: Sudoku editor/Solver - Guenter Schink - 12-20-2016, 04:11 PM
RE: Sudoku editor/Solver - lenborje - 12-21-2016, 02:57 PM
RE: Sudoku editor/Solver - Guenter Schink - 12-21-2016, 04:25 PM
RE: Sudoku editor/Solver - lenborje - 12-21-2016, 04:42 PM
RE: Sudoku editor/Solver - Guenter Schink - 12-21-2016, 05:02 PM
RE: Sudoku editor/Solver - debrouxl - 12-20-2016, 07:35 PM
RE: Sudoku editor/Solver - lenborje - 12-20-2016, 07:37 PM
RE: Sudoku editor/Solver - lenborje - 12-22-2016, 08:57 AM



User(s) browsing this thread: 1 Guest(s)