TRAILS is a solitaire card game. All the cards are dealt face-up into four rows of thirteen. The aces are removed, leaving four empty slots. The object of the game is to re-arrange the cards such that each row starts with a two, and ends with the king of the same suit. The row would read from two through king, all of the same suit.
To move a card, click on it. The only card that can be moved to an empty slot would be the card that follows (in order and suit) the card to the left of the empty slot. For example, if an empty slot has a 4 of hearts to its left, only the 5 of hearts can be moved to that empty slot.
For detailed rules, use the Help-->Rules... menu from within the application.
Zitieren als
Greg Aloe (2024). Trails (https://www.mathworks.com/matlabcentral/fileexchange/2358-trails), MATLAB Central File Exchange. Abgerufen .
Kompatibilität der MATLAB-Version
Plattform-Kompatibilität
Windows macOS LinuxTags
Quellenangaben
Inspiriert: blackjack.m
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Live Editor erkunden
Erstellen Sie Skripte mit Code, Ausgabe und formatiertem Text in einem einzigen ausführbaren Dokument.
Version | Veröffentlicht | Versionshinweise | |
---|---|---|---|
1.3.0.1 | Updated license |
||
1.3.0.0 | "Secret" bug fix.
Admin: This is a minor update with no new functionality. |
||
1.2.0.0 | Add copyright. |
||
1.1.0.0 | Added registered trademark to MATLAB®. |
||
1.0.0.0 |