Skip to content

Commit

Permalink
Deleted the custom domain
Browse files Browse the repository at this point in the history
  • Loading branch information
programarivm committed May 21, 2024
1 parent 149ab9a commit 0c5af2f
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ A chess library for PHP.

### Documentation

Read the latest docs [here](https://php-chess.docs.chesslablab.org/).
Read the latest docs [here](https://chesslablab.github.io/php-chess/).

### License

Expand Down
2 changes: 1 addition & 1 deletion docs/chess-tutor.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

✨ Chess beginners often think they can checkmate the opponent's king quickly. However, there are so many different things to consider in order to understand a position.

[Chess\Tutor\FenEvaluation](https://github.com/chesslablab/php-chess/blob/main/tests/unit/Tutor/FenEvaluationTest.php) helps you improve your chess thinking process by evaluating a FEN position in terms of [chess concepts](https://php-chess.docs.chesslablab.org/heuristics/) like in the example below.
[Chess\Tutor\FenEvaluation](https://github.com/chesslablab/php-chess/blob/main/tests/unit/Tutor/FenEvaluationTest.php) helps you improve your chess thinking process by evaluating a FEN position in terms of [chess concepts](https://chesslablab.github.io/php-chess/heuristics/) like in the example below.

```php
use Chess\FenToBoardFactory;
Expand Down
2 changes: 1 addition & 1 deletion docs/data-conversion.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ echo $board->toFen();
r1bqkb1r/pp2pppp/2np1n2/8/3NP3/2N5/PPP2PPP/R1BQKB1R w KQkq -
```

When a single parameter is passed in the form of a FEN string into the factory create method, it will be assumed that you want to create a classical chess board object. As discussed in the [Home](https://php-chess.docs.chesslablab.org/) section, you may want to check out the self-explanatory tests for this class to learn more about it. The unit tests are the best documentation. They contain hundreds of real examples on how to use the PHP Chess library.
When a single parameter is passed in the form of a FEN string into the factory create method, it will be assumed that you want to create a classical chess board object. As discussed in the [Home](https://chesslablab.github.io/php-chess/) section, you may want to check out the self-explanatory tests for this class to learn more about it. The unit tests are the best documentation. They contain hundreds of real examples on how to use the PHP Chess library.

In this example the game history contains two moves only.

Expand Down
2 changes: 1 addition & 1 deletion docs/play-chess.md
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ echo $board->getMovetext();
1.Rb1
```

The FEN is converted to a chess board object as described in the [Data Conversion](https://php-chess.docs.chesslablab.org/data-conversion/#fen-to-board) section. Then Stockfish's depth limit is set to `12` and the skill level to `20`.
The FEN is converted to a chess board object as described in the [Data Conversion](https://chesslablab.github.io/php-chess/data-conversion/#fen-to-board) section. Then Stockfish's depth limit is set to `12` and the skill level to `20`.

The same thing goes to starting a game from a particular SAN movetext. As you can see in the example below, [Chess\Play\SanPlay](https://github.com/chesslablab/php-chess/blob/main/tests/unit/Play/SanPlayTest.php) is used for this purpose.

Expand Down
2 changes: 1 addition & 1 deletion docs/read-moves.md
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ R N B Q K . . R

Every time a move is made, the state of the board changes.

[Chess\Variant\Classical\Board](https://github.com/chesslablab/php-chess/blob/main/tests/unit/Variant/Classical/BoardTest.php) provides you with plenty of methods to interact with a chess board object. It is a quite common use case to query the board state. As discussed in the [Home](https://php-chess.docs.chesslablab.org/) section, you may want to check out the corresponding tests for further details on how to use it. The unit tests are the best documentation. They contain hundreds of real examples on how to use the PHP Chess library.
[Chess\Variant\Classical\Board](https://github.com/chesslablab/php-chess/blob/main/tests/unit/Variant/Classical/BoardTest.php) provides you with plenty of methods to interact with a chess board object. It is a quite common use case to query the board state. As discussed in the [Home](https://chesslablab.github.io/php-chess/) section, you may want to check out the corresponding tests for further details on how to use it. The unit tests are the best documentation. They contain hundreds of real examples on how to use the PHP Chess library.

The `isCheck()` method will confirm that the white king is in check after 5.Bb5+ while `isMate()` will confirm that it has not been mated.

Expand Down
2 changes: 1 addition & 1 deletion mkdocs.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
site_name: PHP Chess
site_url: https://php-chess.docs.chesslablab.org/
site_url: https://chesslablab.github.io/php-chess/
theme:
name: readthedocs
nav:
Expand Down

0 comments on commit 0c5af2f

Please sign in to comment.