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

Board Drawing #2

Open
Anshroid opened this issue Feb 8, 2023 · 2 comments
Open

Board Drawing #2

Anshroid opened this issue Feb 8, 2023 · 2 comments

Comments

@Anshroid
Copy link
Owner

Anshroid commented Feb 8, 2023

Figure out how to efficiently draw the board in a panel onto the screen. Attach screen layout here.

@Harik-Sodhi
Copy link
Collaborator

Just draw it in the background at the start. Since it is not e-ink, it does not need to be refreshed.
Have colours in binary as variables to accomodate custom board colours in future.
bool BR[24]=(0,0,...,0);
.
.
.
bool WR[24]=(0,0,...,0);
.
.
.

@Anshroid
Copy link
Owner Author

Anshroid commented Feb 9, 2023

Yep, this doesn't need much debate.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants