Android Open Source - MiReversi Human Player






From Project

Back to project page MiReversi.

License

The source code is released under:

MIT License

If you think the Android project MiReversi 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

/*
* Copyright (c) 2011 Makoto Ishida// w  w w.  ja  v a2  s  .  c  om
* Please see the file MIT-LICENSE.txt for copying permission.
*/

package com.example.mireversi.model;

import com.example.mireversi.model.Cell.E_STATUS;

public class HumanPlayer extends Player {

  public HumanPlayer(E_STATUS turn, String name, Board board){
    super(turn, name, board);
  }
  
  @Override
  public boolean isHuman() {
    return true;
  }

  @Override
  public void startThinking(IPlayerCallback callback) {
    callback.onEndThinking(null);
  }

  @Override
  public void stopThinking() {
    //Do nothing.
  }



}




Java Source Code List

com.example.mireversi.GameActivity.java
com.example.mireversi.Pref.java
com.example.mireversi.ReversiView.java
com.example.mireversi.Utils.java
com.example.mireversi.exceptions.InvalidMoveException.java
com.example.mireversi.model.Board.java
com.example.mireversi.model.Cell.java
com.example.mireversi.model.ComputerPlayerLevel0.java
com.example.mireversi.model.ComputerPlayerLevel1.java
com.example.mireversi.model.ComputerPlayerLevel2.java
com.example.mireversi.model.ComputerPlayerLevel3.java
com.example.mireversi.model.ComputerPlayer.java
com.example.mireversi.model.HumanPlayer.java
com.example.mireversi.model.IPlayerCallback.java
com.example.mireversi.model.Player.java