all repos — tictactoe @ fb81c95b8347963840cf863a785f5d04146f8b48

tic-tac-toe game for uxn

fb81c95b
gitignore: ignore sym files and snarf
la-ninpre aaoth@aaoth.xyz
Mon, 28 Aug 2023 15:53:17 +0300
7b771aac
remove makefile and update readme
la-ninpre aaoth@aaoth.xyz
Mon, 28 Aug 2023 13:24:57 +0300
3190ad25
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)
la-ninpre aaoth@aaoth.xyz
Mon, 28 Aug 2023 13:09:56 +0300
fa168f38
readme: correct prerequisites
la-ninpre leobrekalini@gmail.com
Tue, 27 Sep 2022 23:03:49 +0300
06dd1c01
apply optimizations

add lint to makefile
la-ninpre leobrekalini@gmail.com
Thu, 07 Jul 2022 22:20:48 +0300
fbe9cf3d
makefile: allow uxnasm to be used as an assembler
la-ninpre leobrekalini@gmail.com
Tue, 05 Jul 2022 11:08:17 +0300
3efb367b
init
la-ninpre leobrekalini@gmail.com
Mon, 04 Jul 2022 16:05:16 +0300