Closed programarivm closed 5 months ago
@EarlyEdition, the Chess\Play
namespace is to host PHP components to play chess movetexts as per the PGN spec.
Thus, the random chess player may well belong to the same category as Chess\Grandmaster
in that these two are meant to make automatic chess moves programmatically.
Chess\Computer\Random
Chess\Computer\Grandmaster
Chess\Computer\Abducer
Probably, it makes sense to create a namespace called Chess\Computer
intended for these kind of classes.
Chess\Computer\Abducer
will be the next one to be added to this namespace.
See:
@programarivm, Thanks! I think it can be optimized in the future.
Chess\Play\RandomPlay
needs to be implemented in the src/Play folder to play random games.See https://github.com/chesslablab/php-chess/issues/526