Card generates random instances
Player will play a visible card from the piles if hand is empty
Massive refactoring
Added license and copyright to each file
Minor changes
Player will not play when no cards are left + refactoring