0 Members and 3 Guests are viewing this topic.
Solitaire March 27 2014====== Introduction ============================================================ Since Windows 3.0, Windows has included two electronic versions of twoSolitaire (or Patience in UK English) type card games. Windows called themSolitaire and FreeCell. This app currently implements a clone of both programs. For the precise rules of Klondike and FreeCell, please consult the Internet. ====== Usage ===================================================================MAIN MENU Solitaire has a main menu which lets you select which game to play, and theoptions applicable for the chosen game. The currently selected menu item isdisplayed in inverted color; that is, white text on black background. The arrowkeys will select different items. Press ENTER or 2ND to select an item. To quit, you must press the quit button at the bottom of the screen. Unlike in the OS, Solitaire will not dim the screen after a period of noactivity. However, after three minutes, Solitaire will terminate itself andturn the calculator off. If this happens while a game is in progress, Solitairewill save your game if there is sufficient free RAM (about 400 bytes). SAVING Solitaire uses an appvar named Solitair to save your settings andstatistics. This appvar is about 100 bytes in size at a minimum, and is alwaysin RAM. If you archive the appvar, Solitaire will unarchive it, and will notrearchive it. Additionally, while you are playing a game, Solitaire can save your game andrestore it when you rerun the app. This function can be invoked explicitly bypressing MODE. This will expand the save appvar to about 400 bytes. If you areplaying a game, and press no buttons for more than three minutes, Solitaire willattempt to save your game, and then turn the calculator off. There are some conditions that can prevent Solitaire's save feature fromworking: - An appvar named Solitair was created by another application. Solitaire cannot use any other appvar name. - There is not enough free RAM. If there is enough free RAM for the appvar to save statistics, then they will be updated when you quit; however attempting to use the save feature (either by pressing MODE or waiting three minutes) will cause the app to update its statistics, but not save your game. - There is not enough RAM to unarchive the appvar when it is archived. This is exactly like above, but statistics won't be saved, either, and any saved game cannot be resumed. - The appvar was created by an older version of Solitaire, and the new version cannot understand it.In any of these circumstances, attempting to invoke the game saving feature---either through pressing MODE or waiting three minutes---WILL NOT SAVE YOUR IN-PROGRESS GAME. If you repeatedly get error messages when starting Solitaire and you aresure there are not, in fact, any problems, try deleting the appvar Solitair.GENERAL GAME PLAY Once you have started a game, use the arrow keys to move the cursor around.Use ENTER or 2ND to select a card, move the cursor to another card, and then useENTER or 2ND again to place the card. Cards that are hidden may be revealedwith ENTER or 2ND. If you do not a press any keys for three minutes, Solitaire will attempt tosave the in-progress game and then turn off the calculator, returning you to thehome screen; see above for more information.BUG CHEKCS Solitaire contains sanity checks in certain areas, in which the gameverifies that its internal data is in a valid state. If a sanity check fails,it means that the app has a bug. Therefore, the game will display an errormessage saying BUG CHECK, followed by some numbers. A BUG CHECK can also betriggered by press ON at any time, which may be useful if the game appears tohave locked up. If you see a BUG CHECK and you did not cause it purposefully,please record the numbers, and send them to me, with a thorough description ofwhat you were doing when the BUG CHECK was triggered. If at all possible, alsosend an exact list of steps that cause the issue; you may also need to includethe appvar Solitair.------ Klondike ---------------------------------------------------------------- Klondike is the name for the specific version of Solitaire Windows is knownfor. Unlike in Windows Solitaire, the four foundations that you must move cardsinto is not on the top right. Instead, they are on the left side of the screen;this is purely due to the low resolution of the TI-84 Plus C SE screen. Y= will draw more cards from the deck. Alternatively, you may simply clickon the deck. Click on a hidden card to flip it. There are two main scoring modes: normal and Vegas. In normal mode, thescore is always positive. 500 points is average for an un-timed game, 700-plusis excellent. Vegas scoring has two sub-modes: non-cumulative and cumulative. In Vegasscoring, you only get one pass through the deck. When you start the game, youstart 52 currency units (e.g. US dollars) in debt, and earn back 5 units forevery card moved to a home cell (or foundation). With only pass through thedeck, your chances of winning are very small. In fact, even earning back morethan 52 units is very hard. In cumulative mode, you get to retain any debt (orcredit, however unlikely that may be) from previous hands. Switching back tonormal scoring will erase your debt. (Caution: May not work in real casions.) Basically, in Vegas mode, you're almost certain to lose. That's why it'scalled Vegas mode. If you enable the timer, in normal scoring mode, you lose two points everyten seconds. In Vegas mode, the timer serves no purpose.------ FreeCell ---------------------------------------------------------------- FreeCell is a game similar to Klondike Solitaire. However, an importantdifference is that all cards are visible when you start the game. Also, you getfour free cells that can be used as a temporary holding area for exactly onecard. Therefore, unlike Klondike, FreeCell is purely a logic/strategy game. Unlike in Windows FreeCell, the four home cells and free cells are not onthe top of the screen. Instead, they are on the left side of the screen; thisis purely due to the low resolution of the TI-84 Plus C SE screen. This implementation of FreeCell provides the same 32000 unique games thatthe original Windows FreeCell contained, the so-call Microsoft 32000. Everygame except one is solvable with normal four free cells; the unsolvable game is#11982, which can be solved with a fifth free cell. Dozens of people haveclaimed to have solved all 32000; if you attempt to solve all of them beforegraduating, you are unlikely to graduate. Numbers 1941 and 10692 are alsoconsidered very hard, and 617 often trips up beginners, or so I'm told. You can find solutions to all 31999 games online in various places; beforewarned, however, that this implementation does not currently support thesupermove.====== About ===================================================================------ Credits ----------------------------------------------------------------- FloppusMaximus and BrandonW are responsible for nearly all of the OSdocumentation that made this possible. KermM provided the vital insight of theidentity of the specific LCD driver the TI-84 Plus C SE uses, without which thisgame could not operate at a reasonable speed. Xeda helpfully provided some optimizations for some routines.------ Change Log --------------------------------------------------------------Build 461 (27 March 2014) - Added Random! button to GUI - Fixed glitch in Klondike where disabling the timer would also make the Draw text disappear - Added some basic statistics - Optimized some code - Added win detection logic - Added dialogs - Added FreeCell game mode - Fixed a bug in Klondike where moving a card onto a foundation would leave the card below the new top card still selected, so you could move the card onto another pile - Fixed points being deducted at the wrong time when turning over the waste - Fixed points being deducted after waste is empty - Added settings, stats, and game saving. Now APDs correctly save your gave (if possible)! - Made FreeCell number entry and free cell count entry a little better - Changed a bunch of code relating to the card cursor positioning that I had been putting off until I implemented FreeCellBuild 259 (19 March 2014) - ALPHA now implements move-to-home-cell - If you empty the waste, it shows the card beneath if one is there - Deck graphic changes to empty box if no more cards are in deck - Down key moves to bottom-most card in stack - Changed how the arrow keys move between stacks - All illegal moves should now also unselect the currently selected card - So ALPHA will unselect the currently selected card - HOPEFULLY fixed rare random freeze issue - Implemented timer - Implemented scoring - APD now three minutes - Every invocation of the build.bat file will now increment the build number, so every version has a unique ID.Initial release (12 March 2014) - Basic functionality
DrDnar made games?? Anyway that looks pretty good so far and pretty old school too (for some reasons I am reminded a bit of Windows 3.1 )
Bug!No BUG CHECK is triggered by this, but it's game-breaking. I didn't get the update yet, but since it doesn't look like it's in the changelog, I'm reporting it anyways.Instructions: Start a FreeCell game and make a ladder extending past the bottom of the screen. The calc freezes at a green (or green with yellow lines) screen.