Media Summary: This is an archive of a stream that was broadcasted live on twitch: Donate: ... We temporarily created an instance of ChessModel so we could render all the 32 chess pieces on their initial locations. A new ... We created handy functions like drawPieceAt(..) to make piece drawing easier. GitHub repo: ...
Code With Me Android Chessboard - Detailed Analysis & Overview
This is an archive of a stream that was broadcasted live on twitch: Donate: ... We temporarily created an instance of ChessModel so we could render all the 32 chess pieces on their initial locations. A new ... We created handy functions like drawPieceAt(..) to make piece drawing easier. GitHub repo: ... The new algorithm is based on observation that the sum of col and row is even for one color and odd for another. for (i in 0..7) { for ...