Skip to content
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

Convert the code style to object-oriented style #68

Open
yjf2002ghty opened this issue Apr 10, 2024 · 0 comments
Open

Convert the code style to object-oriented style #68

yjf2002ghty opened this issue Apr 10, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@yjf2002ghty
Copy link
Contributor

Most of the code are written in process-oriented style, focusing on the FSF-WASM, ffish board and chessgroundx board. An obvious characteristic is that there are almost no class in the code, making it harder to maintain especially when the code becomes more complex. Switching to object-oriented style can make it easier to handle.

The framework or stack does not need to change as all functions are working well so far (including binary engine loading feature), and my approach is to split the frontend and the backend so that they can work on their own thus implementing some features that traditional GUIs does not support such as running engines remotely (requires SSH). PKG is enough for this.

@ianfab ianfab added the enhancement New feature or request label Apr 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants