├── .gitignore ├── .php_cs ├── .travis.yml ├── LICENSE ├── README.md ├── benchmarks ├── Evaluator │ └── MaterialEvaluatorBench.php └── Search │ └── MinimaxSearchBench.php ├── bin └── deploy.sh ├── composer.json ├── composer.lock ├── phpbench.json ├── phpstan.neon ├── phpunit.xml ├── public ├── api.php ├── chessboard-0.3.0.min.js ├── demo.png ├── favicon.ico ├── index.html └── styles.css ├── src ├── Chessboard.php ├── Chessboard │ └── ChessphpChessboard.php ├── Evaluator.php ├── Evaluator │ ├── CombinedEvaluator.php │ ├── MaterialEvaluator.php │ └── PositionEvaluator.php ├── Exception │ └── InvalidFenException.php ├── Pieces │ ├── PointValue.php │ └── PositionValue.php ├── Search.php ├── Search │ ├── MinimaxFullSearch.php │ └── MinimaxSearch.php ├── Strategy.php └── Strategy │ ├── PositionEvaluation.php │ ├── RandomMove.php │ └── TreeSearch.php ├── template.yaml └── tests ├── Evaluator ├── CombinedEvaluatorTest.php ├── MaterialEvaluatorTest.php └── PositionEvaluatorTest.php └── Search └── MinimaxSearchTest.php /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akondas/php-grandmaster/HEAD/.gitignore -------------------------------------------------------------------------------- /.php_cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akondas/php-grandmaster/HEAD/.php_cs -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akondas/php-grandmaster/HEAD/.travis.yml -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akondas/php-grandmaster/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akondas/php-grandmaster/HEAD/README.md -------------------------------------------------------------------------------- /benchmarks/Evaluator/MaterialEvaluatorBench.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akondas/php-grandmaster/HEAD/benchmarks/Evaluator/MaterialEvaluatorBench.php -------------------------------------------------------------------------------- /benchmarks/Search/MinimaxSearchBench.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akondas/php-grandmaster/HEAD/benchmarks/Search/MinimaxSearchBench.php -------------------------------------------------------------------------------- /bin/deploy.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akondas/php-grandmaster/HEAD/bin/deploy.sh -------------------------------------------------------------------------------- /composer.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akondas/php-grandmaster/HEAD/composer.json -------------------------------------------------------------------------------- /composer.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akondas/php-grandmaster/HEAD/composer.lock -------------------------------------------------------------------------------- /phpbench.json: -------------------------------------------------------------------------------- 1 | { 2 | "bootstrap": "vendor/autoload.php" 3 | } 4 | -------------------------------------------------------------------------------- /phpstan.neon: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akondas/php-grandmaster/HEAD/phpstan.neon -------------------------------------------------------------------------------- /phpunit.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akondas/php-grandmaster/HEAD/phpunit.xml -------------------------------------------------------------------------------- /public/api.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akondas/php-grandmaster/HEAD/public/api.php -------------------------------------------------------------------------------- /public/chessboard-0.3.0.min.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akondas/php-grandmaster/HEAD/public/chessboard-0.3.0.min.js -------------------------------------------------------------------------------- /public/demo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akondas/php-grandmaster/HEAD/public/demo.png -------------------------------------------------------------------------------- /public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akondas/php-grandmaster/HEAD/public/favicon.ico -------------------------------------------------------------------------------- /public/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akondas/php-grandmaster/HEAD/public/index.html -------------------------------------------------------------------------------- /public/styles.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akondas/php-grandmaster/HEAD/public/styles.css -------------------------------------------------------------------------------- /src/Chessboard.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akondas/php-grandmaster/HEAD/src/Chessboard.php -------------------------------------------------------------------------------- /src/Chessboard/ChessphpChessboard.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akondas/php-grandmaster/HEAD/src/Chessboard/ChessphpChessboard.php -------------------------------------------------------------------------------- /src/Evaluator.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akondas/php-grandmaster/HEAD/src/Evaluator.php -------------------------------------------------------------------------------- /src/Evaluator/CombinedEvaluator.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akondas/php-grandmaster/HEAD/src/Evaluator/CombinedEvaluator.php -------------------------------------------------------------------------------- /src/Evaluator/MaterialEvaluator.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akondas/php-grandmaster/HEAD/src/Evaluator/MaterialEvaluator.php -------------------------------------------------------------------------------- /src/Evaluator/PositionEvaluator.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akondas/php-grandmaster/HEAD/src/Evaluator/PositionEvaluator.php -------------------------------------------------------------------------------- /src/Exception/InvalidFenException.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akondas/php-grandmaster/HEAD/src/Exception/InvalidFenException.php -------------------------------------------------------------------------------- /src/Pieces/PointValue.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akondas/php-grandmaster/HEAD/src/Pieces/PointValue.php -------------------------------------------------------------------------------- /src/Pieces/PositionValue.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akondas/php-grandmaster/HEAD/src/Pieces/PositionValue.php -------------------------------------------------------------------------------- /src/Search.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akondas/php-grandmaster/HEAD/src/Search.php -------------------------------------------------------------------------------- /src/Search/MinimaxFullSearch.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akondas/php-grandmaster/HEAD/src/Search/MinimaxFullSearch.php -------------------------------------------------------------------------------- /src/Search/MinimaxSearch.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akondas/php-grandmaster/HEAD/src/Search/MinimaxSearch.php -------------------------------------------------------------------------------- /src/Strategy.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akondas/php-grandmaster/HEAD/src/Strategy.php -------------------------------------------------------------------------------- /src/Strategy/PositionEvaluation.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akondas/php-grandmaster/HEAD/src/Strategy/PositionEvaluation.php -------------------------------------------------------------------------------- /src/Strategy/RandomMove.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akondas/php-grandmaster/HEAD/src/Strategy/RandomMove.php -------------------------------------------------------------------------------- /src/Strategy/TreeSearch.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akondas/php-grandmaster/HEAD/src/Strategy/TreeSearch.php -------------------------------------------------------------------------------- /template.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akondas/php-grandmaster/HEAD/template.yaml -------------------------------------------------------------------------------- /tests/Evaluator/CombinedEvaluatorTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akondas/php-grandmaster/HEAD/tests/Evaluator/CombinedEvaluatorTest.php -------------------------------------------------------------------------------- /tests/Evaluator/MaterialEvaluatorTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akondas/php-grandmaster/HEAD/tests/Evaluator/MaterialEvaluatorTest.php -------------------------------------------------------------------------------- /tests/Evaluator/PositionEvaluatorTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akondas/php-grandmaster/HEAD/tests/Evaluator/PositionEvaluatorTest.php -------------------------------------------------------------------------------- /tests/Search/MinimaxSearchTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akondas/php-grandmaster/HEAD/tests/Search/MinimaxSearchTest.php --------------------------------------------------------------------------------