Skip to content

Doesn't print full instructions #2

@JaseHadd

Description

@JaseHadd

This is likely due mostly to my complete inexperience with lisp, but I can't make it print a full list of instructions for a deck.

The output looks like the following when running in SBCL on macOS Mojave.

0] (ps:solve (ps:string->card-list "4h Kd 3h 4c Tc 5s 7s 6c 8d Ah Js 7h 5d Kh 2s 6s Ts Jc 6d 9h 7d 5c Ac 2c 4d 3d 9d Ad 8h 7c 8s Th 8c 2h Td 3c 3s Ks 4s Jd Qs 9s Qc 6h Jh 2d Qh 5h Qd 9c Kc As"))

("Draw" "Draw" "Draw" ("3d" "Th") "Draw" "Draw" "Draw" "Draw" "Draw" ("Ks")
 ("9d" "4s") ("2c" "Jd") ...)

I've attempted to load the command-line package to access print-solution, but I've had no luck (unable to find package command-line, and can't run them directly with (cl:print-solution (ps:solve ... )).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions