aboutsummaryrefslogtreecommitdiffstats
path: root/94c3b37d6926933cf96c409f543bdbc1ad6eb62a
diff options
context:
space:
mode:
authorla-ninpre <aaoth@aaoth.xyz>2023-08-28 13:09:56 +0300
committerla-ninpre <aaoth@aaoth.xyz>2023-08-28 13:09:56 +0300
commit3190ad25cb167f8289b7d10957a37283cd1efc2a (patch)
treedfb3d51957cdc6425b578b5309ae464c79043251 /94c3b37d6926933cf96c409f543bdbc1ad6eb62a
parentfa168f384ba699d7b0e8a4c49925573115e0c976 (diff)
downloadtictactoe-3190ad25cb167f8289b7d10957a37283cd1efc2a.tar.gz
tictactoe-3190ad25cb167f8289b7d10957a37283cd1efc2a.zip
major refactoring
- fix bug when game restarts and board doesn't get cleared - optimize by using immediate opcodes and fallthrough subroutines - lint with uxnlin - format with uxnfor - store x and y coordinates of the cursor in different bytes (i thought this was a cool memory hack, but since the variables are located in zero page this doesn't save memory, on the contrary, it adds unnecessary complexity to manage packing and unpacking coordinates from nibbles) - remove loops from check-win - remove nested comments - avoid redoing some work when game restarts (restart code now jumps to code that is necessary to only reset game state and clear the board)
Diffstat (limited to '94c3b37d6926933cf96c409f543bdbc1ad6eb62a')
0 files changed, 0 insertions, 0 deletions