Sudoku v2.2 by Makee Size on calculator: 1993 bytes The Sudoku-game for TI-86 has been updated to version 2.2! ===== Rules ===== The rules are simple: Fill in the whole 9x9 grid with numbers so that every row, column and 3x3 smaller grid have only one instance of the numbers 1-9. ======= History ======= ***Version 2.2 updates*** -Much smaller size (removed useless texts and optimized code, now under 2000 bytes)! -Fixed a small bug which caused the menu bar blink when changing an option -Even faster random board generation (0.5-1.5 seconds!) -Saves more battery life! (with HALT-instruction) -If you don't have high score in some level, text "None" is displayed instead of 65535 ***Version 2.1 updates*** -Possibility to get the game without having any link cables! See sudokuhex.txt - file! -MUCH faster random board generation: takes only 1-4 seconds! -New option: Highlight given numbers! -Even smaller size: Now only 2389 bytes on calculator! -You can now delete save game file with the program "delsud" (only 30 bytes!) -"High scores" changed into "Best times" ***Version 2.0 updates*** -Almost 200 bytes smaller! -Faster random board generation ***Version 1.9 updates*** -Timer! You can't freeze it with the down-left bug, it has been fixed. When you solve the game, your time is shown on the screen and if you get a HIGH SCORE, you'll be informed. -You can choose skill level and whether hints are enabled or not. -HIGH SCORES with 6 different levels! Easy, Hints Normal, Hints Hard, Hints Easy, No Hints Normal, No Hints Hard, No Hints -On-calc little help! ***Version 1.6 updates*** -Generate random boards!! This is a great improvement because this allows you to generate millions and even billions of different boards to play! -Removed loading/creating/compressing boards because they are now totally useless because you can generate new boards to play as much as you want! In addition, the size of the game is now over 500 bytes smaller! -With the dot lines, you can see better where the 3x3 subgrids are -Restart button with asking first -Improved the hint feature a little -Fixed a small bug ***Version 1.2 updates*** -Board compression for saved boards. Saves space! -Hints button! -Nicer cursor :) -More help texts ***First version 1.0 features*** -Automatic possibility checking (takes no time, it's ASM!) -Save game automatically after quitting -Not possible to delete the given numbers -Create your own boards! -Restart game just by loading the board again -Cheating not possible ======= Install ======= Make sure you have at least about 2200 bytes free space before you install Sudoku! After this, send sudoku.86p to your calculator (use a link cable or . Type Asm(sudoku) to start or use a shell! ======== The menu ======== Scroll with Up/Down arrows, select/change option with ENTER/2nd. Press EXIT to quit the game (saves current game). "Continue" : Continue your last game. NOTE: This is visible only when you have started a new game and haven't solved it yet. After solving, it disappears since there is no game to be continued. "Generate new board" : Starts a new game by generating a random board. This is done only in 1-4 seconds! NOTE: The progress sometimes (not often) freezes up. If that happens, simply try again. "Level" : Choose skill level for new game. NOTE: This doesn't affect the saved game, only if you start a new game. "Hints enabled" : Choose to enable hints or not. NOTE: This doesn't affect the saved game, only if you start a new game. "Highlight given numbers" : With this new option you can immediately see the given numbers from your owns! "Best times" : View best times in each level. If you don't have a record in some level, text "None" is displayed. ================ Playing the game ================ Arrows: Move cursor Numbers: Put that number into the cursor position (if nothing happens, you can't put that number into that square) MORE: The hint button! Tells which numbers you are allowed to put into that square. DEL: Deletes the number at the cursor position (you can't delete any of the given numbers) CLEAR: Restarts the game with asking first. NOTE: This won't reset the timer! EXIT: Back to main menu (game is saved automatically). ========= More info ========= Sudoku saves the game into a hidden variable named "0sud" which takes 195 bytes of space. You can reset your best times by running the program "delsud" (size only 30 bytes) which deletes the save game. Why did I create another program for that? I think it should not be too easy to reset the times just by pressing one button. If you run "delsud" without having the save game file, the program won't do anything. If the save game file exists, it will be deleted. Bugs? No, as far as I know. But if you find one, please email me. The source code is not included in ZIP file. =============== Future features =============== Some optimizations are always possible. Good ideas are accepted! ========== Disclaimer ========== I have tested this game very much and it shouldn't have bugs. However, I can not be held responsible for any damage to anything caused by playing this game.