Skip to content

agreal2005/CUDA-Solitaire-Solver

Repository files navigation

Compile the program with
nvcc -arch=sm_75 -rdc=true -lcudadevrt main.cu

To run with a shuffle, use
./a.out shuffle.txt

To create a custom shuffle, use the following method:
Lines 1-7: Tableau - store chains of cards, if they're covered, use ">" before the encoding
Line 8: Foundation - store the topmost card of the suit. Any order and number of suits on the foundation work
Line 9: Deck - store a chain of cards. The rightmost card represents the top of the deck.

Encoding:
A, 2-9, T, J, Q, K denote the number
S, H, D, C denote the suit

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published