aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* compact board drawing codela-ninpre2023-08-281-26/+33
| | | | also make cursor change color in place
* gitignore: ignore sym files and snarfla-ninpre2023-08-281-0/+2
|
* remove makefile and update readmela-ninpre2023-08-282-40/+9
|
* major refactoringla-ninpre2023-08-281-312/+194
| | | | | | | | | | | | | | | | | - 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)
* readme: correct prerequisitesla-ninpre2022-09-271-3/+3
|
* apply optimizationsla-ninpre2022-07-072-10/+16
| | | | add lint to makefile
* makefile: allow uxnasm to be used as an assemblerla-ninpre2022-07-051-1/+2
|
* initla-ninpre2022-07-045-0/+390