You are browsing as a guest. Sign up (or log in) to start making projects!

6h 56m 1s logged

Way better premoves. I’ve updated my premove system to store multiple premoves. I did this by storing eaach premove as a tuple of (startRow, startColumn, endRow, endColumn). These tuples contain all the data I need to know and can be easily appended into an array. To clear a premove you can either do the same move again which removes that specific premove or tap the middle mouse button anywhere which clears all premoves and arrows. I also render a translucent version of the piece that I’ve moved to its premove destination and remove the texture for where it was originally. This helps you keep track of what your premoves are actually doing. I do this by drawing the board normally then looping through each move in the premoves array and drawing that piece at its correct destination in reduced alpha. Next I am going to try to improve my bot further so that I can push to a depth of around 10 during midgame.

0
8

Comments 0

No comments yet. Be the first!