Solitaire CE#
This is a card solitaire game for the TI-84 Plus CE and TI-83 Premium CE.
How to Play#
This is calculation. There are four foundation piles, each of which start with one card at the beginning of the game: the first pile starts with an ace, the second with a two, and so on. Each foundation is built on in multiples of the initial card (i.e. its position). So the first pile is built A, 2, 3, 4...; the second 2, 4, 6, 8...; the third 3, 6, 9, Q...; and the fourth 4, 8, Q, 3.... The card after K is A, though once a foundation has a king played to it, that is its thirteenth card and it is now complete, and no more cards may be played to it.
Additionally, there are four tableau piles beneath the foundation piles. A card can always be placed on the top of a tableau pile, but it can only be removed from the pile by playing it to a foundation. Therefore, the clever placement of cards in the tableau is key to victory.
Cards may be drawn one at a time from the deck by pressing alpha or picked up from the selected tableau pile with 2nd. The card held in the player's hand may be played to the selected pile with 2nd or returned to its origin pile in the tableau with clear. When interacting with tableau and foundation piles, the selected pile is marked with the cursor, which can be moved with the arrow keys. Moving the cursor all the way to the left or right causes it to wrap around from the tableau to the foundations or vice versa.
Once all four foundations are completed, the game is over. The game can be reset at any point by pressing del.
Roadmap#
As more and more of the core game logic is made generic, the goal is to spin out the rules of the game to an interpreted script, and then allow the play of multiple solitaire games with one program and set of graphical assets.
Dependencies#
This program requires LibLoad and the CE C libraries to be installed on the calculator. It also requires a linking program such as TiLP to be loaded onto the device.
Development#
Building this project requires the CEdev toolchain. It can be built by running:
$ make gfx
$ make
Licensing#
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see https://www.gnu.org/licenses/.