/**
 * $Id: DummyAI.java,v 1.3 2007/11/26 07:10:47 chip Exp $
 * $Source: /opt/repository/metaforge/dev/java/webstratego/src/com/metaforge/olg/ws/ai/DummyAI.java,v $
 * $Revision: 1.3 $
 * $Date: 2007/11/26 07:10:47 $
 */
package com.metaforge.olg.ws.ai;

/**
 * @author <a href="mailto:chip@metaforge.net">Chip McVey</a>
 *
 */
public class DummyAI extends MetaforgeAIBase {
  
  public DummyAI() {
    super();
    System.out.println("DummyAI: instance constructed");
  }
  
  /* (non-Javadoc)
   * @see com.metaforge.olg.ws.ai.MetaforgeAIBase#createAISetup(int)
   */
  @Override
  public void createAISetup(int color) {
    // TODO Auto-generated method stub
    System.out.println("DummyAI: createAISetup " + color);
  }

  /* (non-Javadoc)
   * @see com.metaforge.olg.ws.ai.MetaforgeAIBase#getAIMove(int[])
   */
  @Override
  public void getAIMove(byte[] move) {
    // TODO Auto-generated method stub
    System.out.println("DummyAI: getAIMove");
  }

  /* (non-Javadoc)
   * @see com.metaforge.olg.ws.ai.MetaforgeAIBase#getAISetupPiece(int, int)
   */
  @Override
  public int getAISetupPiece(int x, int y) {
    // TODO Auto-generated method stub
    System.out.println("DummyAI: getAISetupPiece " + x + ", " + y);
    return 0;
  }

  /* (non-Javadoc)
   * @see com.metaforge.olg.ws.ai.MetaforgeAIBase#illegalSetup(int, int, int)
   */
  @Override
  public void illegalSetup(int x, int y, int rank) {
    // TODO Auto-generated method stub
    System.out.println("DummyAI: illegalSetup");
  }

  /* (non-Javadoc)
   * @see com.metaforge.olg.ws.ai.MetaforgeAIBase#setGameOption(int, int)
   */
  @Override
  public boolean setGameOption(int option, int value) {
    // TODO Auto-generated method stub
    System.out.println("DummyAI: setGameOption " + option + " " + value);
    return false;
  }

  /* (non-Javadoc)
   * @see com.metaforge.olg.ws.ai.MetaforgeAIBase#setOpponentSetupPiece(int, int)
   */
  @Override
  public void setOpponentSetupPiece(int x, int y) {
    // TODO Auto-generated method stub
  }

  /* (non-Javadoc)
   * @see com.metaforge.olg.ws.ai.MetaforgeAIBase#submitAIMoveResult(int, int)
   */
  @Override
  public byte submitAIMoveResult(int rank, int result) {
    // TODO Auto-generated method stub
    return (byte)0;
  }

  /* (non-Javadoc)
   * @see com.metaforge.olg.ws.ai.MetaforgeAIBase#submitOpponentMove(int, int, int, int, int, int)
   */
  @Override
  public byte submitOpponentMove(int xo, int yo, int xf, int yf, int rank, int result) {
    // TODO Auto-generated method stub
    return 0;
  }

  /* (non-Javadoc)
   * @see com.metaforge.olg.ws.ai.MetaforgeStrategoAI#illegalMove(byte[])
   */
  public byte illegalMove(byte[] move) {
    // TODO Auto-generated method stub
    return MetaforgeStrategoAI.AI_SPECIAL_MOVE_NOTHING;
  }
}
