Package com.barrybecker4.game.twoplayer.chess

Source Code of com.barrybecker4.game.twoplayer.chess.ChessPlayerOptions

// Copyright by Barry G. Becker, 2012. Licensed under MIT License: http://www.opensource.org/licenses/MIT
package com.barrybecker4.game.twoplayer.chess;

import com.barrybecker4.game.twoplayer.common.TwoPlayerPlayerOptions;
import com.barrybecker4.game.twoplayer.common.search.options.BestMovesSearchOptions;
import com.barrybecker4.game.twoplayer.common.search.options.BruteSearchOptions;
import com.barrybecker4.game.twoplayer.common.search.options.SearchOptions;

import java.awt.*;

/**
* @author Barry Becker
*/
public class ChessPlayerOptions extends TwoPlayerPlayerOptions {

    public ChessPlayerOptions(String name, Color color) {
        super(name, color);
    }

    @Override
    protected SearchOptions createDefaultSearchOptions() {
        return new SearchOptions(new BruteSearchOptions(2)new BestMovesSearchOptions(80, 10, 0));
    }
}
TOP

Related Classes of com.barrybecker4.game.twoplayer.chess.ChessPlayerOptions

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.