You have not uploaded your program! Please edit the page to upload your program.
|
![]() |
||||||||||||||
This Minesweeper program is easy to install. Use TI-Connect or another linking application to download the .8xp file to your TI-84 Plus CE (C Silver Edition)calculator, then simply press "prgm" look for the program named "MINES", and press "enter" twice. In the menu: Controls in-game: Approximate loading statistics: 5/7/17 - Update v1.1 - Save and exit are two different buttons, more user-friendly, minor fixes. 5/8/17 - Update v1.1.2 - Removed crash at beginning of program for new users, other bug-fixes improving user friendliness. 5/13/17 - Update v1.3.0 - FASTER saving, bug fixes, option turning off automatic clearing, and custom controls! 5/24/17 - Update v1.3.1 - FASTER loading, faster button response (thank you to zeldaking @ cemetech for idea!) 5/25/17 - Update v1.4.0 - Added Statistics! View best scores and times! 10/2/17 - Update v1.4.1 - Various amendments and improvements I may later create a TI-84+/83+ edition. Post in the comments if you find a bug (all of which can never be exterminated!), or if you would like to suggest a new feature. I have left the program editing unlocked so that, if you find a glitch, you than reference it to me. Thank you in advance for helping out to perfect this program into a masterpiece! |
What the community thinks:
I used Cemetech's SourceCoder3 to view the code. Ignore the indentions, that is how Cemetech formats it to make it feel more like Assembly (I personally hate it, though).
I will optimize this when I have time. I noticed some that can be done easily
Edit: I got it down to 6487 bytes from 6829, will look for algorithmic optimizations later.
Yeah, I mean, what's with the extra square brackets and "|"s? The viewer could be useful to see how the if's and ends and other commands like repeat all line up. I find it disappointing how you can't space things out like that in any old TI-BASIC editor. Anyway, a new update fixing TONS of glitches is soon coming out. Thank you!
Um, just open the project in SourceCoder3. Everything is indented for your convenience and readability.
Thanks for the feedback, though I've heard that the "→" character can't be contained in a string. That's why I used "->". But thanks for showing me how sum( works!
I honestly never saw that it was "->" TokenIDE automatically converted it to the Sto arrow
The same thing with "|L" is done, being converted to the small L.
:D
Have You found any algorithmic optimizations, Trenly? I have been hoping for some way that the clearing engine could be made more efficient.
By the way, I have been trying to make an account on Cemetech, however, the e-mail setting up my account never comes. Am I taking the wrong approach?
Check your spam for the confirmation letter :)
I havent had time to look
I didn't have time to try and understand all of your code, but I created one of my own for the ti-84+ that has some fairly optimized algorithms. I haven't gotten to the part of actually clearing more than 1 space or showing the number of mines nearby, but I have a "protect" function and a "dig" function. 2nd is to flag or unflag, enter is to dig. Uses L1 to generate 3 mines per row, and then L2-L5 for saving points which are either dug or protected. Its not nearly close to done, but it uses the graph screen and has 24 bombs on an 8*8 grid. this could easily be lowered to 16 or 8 bombs.
I commented the code heavily so you can hopefully understand each part of what I did.
EDIT: You can however instead of using DelVar you can use →. I know, does not really save any bytes, but it sure save some room though.
I actually found an excellent way to make the game load faster. Usually, when you select a space to clear, it looks around for mines THEN before showing that amount, but with my new build, it gathers that information BEFORE you start playing. As the program places the mines, it calculates how many mines are around each space. That way, when you request the program to clear a space and display a value, it immediately calls up that value, already loaded, and displays it. I won't release the new build yet, because I need to test it and make further improvements, but it does work SO much better.
So, the next version of minesweeper is going to be quite a leap, with better-yet user friendliness, custom controls, an option to turn automatic loading off, AND a large improvement of the time it takes to save/load a game. Stay tuned, UPDATE V1.3.0 COMING SOON!
*Edit: Also, at some point, I WILL be programming a port of this for the lower definition TI-83's and TI-84's (8x16 as opposed to 10x26).
Oops! Sorry about that… ='O =| :/
Yeah, idk who added the scroll bars, but it looks nice and compact.
For future reference, please follow the no-double posting rule.
BTW, who changed the code boxes to now have scroll bars?
My brand-new TI-84+ CE, running OS ver. 5.2.2.0043, will not run this program. Error is, "Variable used is not currently defined."
Hm. When the error shows up, press the "Goto" option. What line does it take you to?
Try selecting the "Configure" Option. It "defines the variable [Str1]".