<feed xmlns='http://www.w3.org/2005/Atom'>
<title>tictactoe, branch main</title>
<subtitle>tic-tac-toe game for uxn</subtitle>
<link rel='alternate' type='text/html' href='http://git.aaoth.xyz/tictactoe/'/>
<entry>
<title>use sprites to draw cursor and board</title>
<updated>2023-08-29T14:54:41+00:00</updated>
<author>
<name>la-ninpre</name>
<email>aaoth@aaoth.xyz</email>
</author>
<published>2023-08-29T14:54:41+00:00</published>
<link rel='alternate' type='text/html' href='http://git.aaoth.xyz/tictactoe/commit/?id=43c4c19be1b6866860ba67fce1485f9eca098b9f'/>
<id>43c4c19be1b6866860ba67fce1485f9eca098b9f</id>
<content type='text'>
this is a bit more code, but ten times less cycles to
draw the board and the cursor. the latter now looks slightly different,
this is somewhat unintentional, but only slightly.

also board is now drawn at the background layer, while
everything else is on foreground. doesn't matter much, but
makes more sense.

in uxn32 redrawing the cursor erases figures. looks awful and is a bug.
but this happens probably because uxn32 lacks the recent update to
a screen device.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
this is a bit more code, but ten times less cycles to
draw the board and the cursor. the latter now looks slightly different,
this is somewhat unintentional, but only slightly.

also board is now drawn at the background layer, while
everything else is on foreground. doesn't matter much, but
makes more sense.

in uxn32 redrawing the cursor erases figures. looks awful and is a bug.
but this happens probably because uxn32 lacks the recent update to
a screen device.
</pre>
</div>
</content>
</entry>
<entry>
<title>refactoring and optimization</title>
<updated>2023-08-29T11:37:05+00:00</updated>
<author>
<name>la-ninpre</name>
<email>aaoth@aaoth.xyz</email>
</author>
<published>2023-08-29T11:37:05+00:00</published>
<link rel='alternate' type='text/html' href='http://git.aaoth.xyz/tictactoe/commit/?id=94c3b37d6926933cf96c409f543bdbc1ad6eb62a'/>
<id>94c3b37d6926933cf96c409f543bdbc1ad6eb62a</id>
<content type='text'>
- remove logic from drawing code (also simplify)
- remove ability to make move with space key
- fix bug where game instantly restarts at the end
(key release event was triggering the restart)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- remove logic from drawing code (also simplify)
- remove ability to make move with space key
- fix bug where game instantly restarts at the end
(key release event was triggering the restart)
</pre>
</div>
</content>
</entry>
<entry>
<title>compact board drawing code</title>
<updated>2023-08-28T12:53:21+00:00</updated>
<author>
<name>la-ninpre</name>
<email>aaoth@aaoth.xyz</email>
</author>
<published>2023-08-28T12:53:21+00:00</published>
<link rel='alternate' type='text/html' href='http://git.aaoth.xyz/tictactoe/commit/?id=e55541a27cea7121d3c09ff10f99ade46d647bf4'/>
<id>e55541a27cea7121d3c09ff10f99ade46d647bf4</id>
<content type='text'>
also make cursor change color in place
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
also make cursor change color in place
</pre>
</div>
</content>
</entry>
<entry>
<title>gitignore: ignore sym files and snarf</title>
<updated>2023-08-28T12:53:17+00:00</updated>
<author>
<name>la-ninpre</name>
<email>aaoth@aaoth.xyz</email>
</author>
<published>2023-08-28T12:53:17+00:00</published>
<link rel='alternate' type='text/html' href='http://git.aaoth.xyz/tictactoe/commit/?id=fb81c95b8347963840cf863a785f5d04146f8b48'/>
<id>fb81c95b8347963840cf863a785f5d04146f8b48</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>remove makefile and update readme</title>
<updated>2023-08-28T10:24:57+00:00</updated>
<author>
<name>la-ninpre</name>
<email>aaoth@aaoth.xyz</email>
</author>
<published>2023-08-28T10:24:57+00:00</published>
<link rel='alternate' type='text/html' href='http://git.aaoth.xyz/tictactoe/commit/?id=7b771aace72d9c78339e925f047af923e1ede7d3'/>
<id>7b771aace72d9c78339e925f047af923e1ede7d3</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>major refactoring</title>
<updated>2023-08-28T10:09:56+00:00</updated>
<author>
<name>la-ninpre</name>
<email>aaoth@aaoth.xyz</email>
</author>
<published>2023-08-28T10:09:56+00:00</published>
<link rel='alternate' type='text/html' href='http://git.aaoth.xyz/tictactoe/commit/?id=3190ad25cb167f8289b7d10957a37283cd1efc2a'/>
<id>3190ad25cb167f8289b7d10957a37283cd1efc2a</id>
<content type='text'>
- 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)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- 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)
</pre>
</div>
</content>
</entry>
<entry>
<title>readme: correct prerequisites</title>
<updated>2022-09-27T20:03:49+00:00</updated>
<author>
<name>la-ninpre</name>
<email>leobrekalini@gmail.com</email>
</author>
<published>2022-09-27T20:03:49+00:00</published>
<link rel='alternate' type='text/html' href='http://git.aaoth.xyz/tictactoe/commit/?id=fa168f384ba699d7b0e8a4c49925573115e0c976'/>
<id>fa168f384ba699d7b0e8a4c49925573115e0c976</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>apply optimizations</title>
<updated>2022-07-07T19:20:48+00:00</updated>
<author>
<name>la-ninpre</name>
<email>leobrekalini@gmail.com</email>
</author>
<published>2022-07-07T19:20:48+00:00</published>
<link rel='alternate' type='text/html' href='http://git.aaoth.xyz/tictactoe/commit/?id=06dd1c018105a2614133ea56f3d888a633c6d14c'/>
<id>06dd1c018105a2614133ea56f3d888a633c6d14c</id>
<content type='text'>
add lint to makefile
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
add lint to makefile
</pre>
</div>
</content>
</entry>
<entry>
<title>makefile: allow uxnasm to be used as an assembler</title>
<updated>2022-07-05T08:08:17+00:00</updated>
<author>
<name>la-ninpre</name>
<email>leobrekalini@gmail.com</email>
</author>
<published>2022-07-05T08:08:17+00:00</published>
<link rel='alternate' type='text/html' href='http://git.aaoth.xyz/tictactoe/commit/?id=fbe9cf3de729a186a7f6365ed2930c4073f8c149'/>
<id>fbe9cf3de729a186a7f6365ed2930c4073f8c149</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>init</title>
<updated>2022-07-04T18:25:11+00:00</updated>
<author>
<name>la-ninpre</name>
<email>leobrekalini@gmail.com</email>
</author>
<published>2022-07-04T13:05:16+00:00</published>
<link rel='alternate' type='text/html' href='http://git.aaoth.xyz/tictactoe/commit/?id=3efb367b4a4c8474dbf24a4d580d2de402c1703b'/>
<id>3efb367b4a4c8474dbf24a4d580d2de402c1703b</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
