Returns a list of Cards removed from the deck. This method is not thread-safe. Since the deck is modified, it is important to synchronize on the deck in multi-threaded programs.
@param number number of cards to return
@return {@link List} of Cards
The player who the dealer-button has been dealt to can choose to start the deal. From that moment, new players can not join the on-going deal.
@param player The player who deals.
@throws IllegalActionException [must] It's not the turn of the givenplayer.
@throws IllegalActionException [must] The action performed is not a validaction.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.