-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
refactoring #3
refactoring #3
Conversation
Hey @garak, thanks for contribution, actually this fork was created mainly for performance reasons, I don't know if the flowery code readability is better, but this library is versioned anyway so I'd love to see where it takes us 😉 |
possibly, if you only want to, can we make a separate library out of it? (with separate independent namespace), for example: |
That's feasible of course, but what's the purpose? |
Clean and solid PHP chess engine for everyone? I leave the decision to you, we can either merge it or do a separate project, let me know. |
I see, maybe we can drop "Ryans" from namespace? I'll integrate my PR if so |
So, the choice now would be: how to name it? PHP folks prefer avoiding the use of "PHP" in library names, so "ChessPHP" is not suitable. |
|
PChess? |
and the repository name? |
I guess that we can leave that for a second step. For now, we can keep github under If instead you prefer to move now, no problem for me. Create the new repo and let's go with |
Bad luck: |
On packagist is still available https://packagist.org/explore/pchess (I see a 404) |
|
What about p-chess? |
https://github.com/p-chess/chess (check e-mail for invitation), thanks for your patience and cooperation |
Here we are p-chess/chess#1 |
This is a first attempt to improve code base, trying to split god class
Chess
into smaller classes, with less responsibilities.Some other improvements in code readability (mainly type hinting) is also included.
I have a few ideas for next steps (so for subsequent PRs)