Making java code to be able to play games based with cards.