@kendog400 There’s code missing, so this is never going to work as is. Also, when you post code, put only 3 tildes ~~~ on a line before and after the code. What was the name and date of the discussion you got the above code from. Maybe the original discussion has more code.

@kendog400 I found the original link and the code for the card game works but is incomplete.

it seems that the link just died…

@kendog400, use gist.

It’s a free feature available at GitHub and it’s the most common way people on these forums share larger code.

Post the code in a gist and then post the gist link here. It’s really easy!