1 package au.edu.mq.itec802.cardGame; 2 3 /** 4 * The Interface Game for a card game. 5 * 6 * @author Tomas Krajca <tomas.krajca@students.mq.edu.au> 7 * @version $Id: Game.java 22/03/2011 jumbo$ 8 */ 9 public interface Game { 10 11 /** 12 * Play the game. 13 */ play()14 public void play(); 15 16 /** 17 * Format and return results of the game. 18 * 19 * @return the results of the game as String 20 */ toString()21 public String toString(); 22 } 23