Anshroid / Prizmchess

Chess for the Prizm fx-CG50 graphical calculator
https://anshroid.github.io/projects/prizmchess/
1 stars 1 forks source link

Board Drawing #2

Open Anshroid opened 1 year ago

Anshroid commented 1 year ago

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

Harik-Sodhi commented 1 year ago

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 commented 1 year ago

Yep, this doesn't need much debate.