Android Open Source - septica-for-android I Card






From Project

Back to project page septica-for-android.

License

The source code is released under:

MIT License

If you think the Android project septica-for-android listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.

Java Source Code

package fera.costin.alexandru.logic;
/*  www .  j a va  2  s .  c  o m*/
import java.io.Serializable;

/**
 * This interface specifies the behavior of a playing card.
 * 
 * @author Alexandru Fera
 * 
 */

public interface ICard extends Serializable
{

  public static final char SPADES = 's';
  public static final char HEARTS = 'h';
  public static final char DIAMONDS = 'd';
  public static final char CLUBS = 'c';
  public static final char JACK = 'j';
  public static final char QUEEN = 'q';
  public static final char KING = 'k';
  public static final char TEN = 't';
  public static final char ACE = '1';

  public char getSuit();

  public char getValue();
  
  public int getImageResourceId();
  
  public Integer getIntegerValue();

}




Java Source Code List

fera.costin.alexandru.ai.AI.java
fera.costin.alexandru.ai.BaseAI.java
fera.costin.alexandru.ai.EasyAI.java
fera.costin.alexandru.ai.HardAI.java
fera.costin.alexandru.ai.MediumAI.java
fera.costin.alexandru.db.PersistenceAdapter.java
fera.costin.alexandru.logic.CardDeck.java
fera.costin.alexandru.logic.Card.java
fera.costin.alexandru.logic.Game.java
fera.costin.alexandru.logic.ICard.java
fera.costin.alexandru.ui.MainActivity.java
fera.costin.alexandru.ui.PreferencesActivity.java
fera.costin.alexandru.ui.SepticaActivity.java