<feed xmlns='http://www.w3.org/2005/Atom'>
<title>snake, branch main</title>
<subtitle>Snake, like, the video game</subtitle>
<id>https://code.roseh.moe/snake/atom/?h=main</id>
<link rel='self' href='https://code.roseh.moe/snake/atom/?h=main'/>
<link rel='alternate' type='text/html' href='https://code.roseh.moe/snake/'/>
<updated>2024-01-20T07:52:27Z</updated>
<entry>
<title>Remove the Fruit struct.</title>
<updated>2024-01-20T07:52:27Z</updated>
<author>
<name>Rose Hogenson</name>
<email>rosehogenson@posteo.net</email>
</author>
<published>2024-01-20T07:52:27Z</published>
<link rel='alternate' type='text/html' href='https://code.roseh.moe/snake/commit/?id=a1d7194b7e17669c9485d9064605fffd99aea996'/>
<id>urn:sha1:a1d7194b7e17669c9485d9064605fffd99aea996</id>
<content type='text'>
It really wasn't pulling its own weight.
</content>
</entry>
<entry>
<title>Use i8 for position instead of u16.</title>
<updated>2024-01-20T07:47:43Z</updated>
<author>
<name>Rose Hogenson</name>
<email>rosehogenson@posteo.net</email>
</author>
<published>2024-01-20T07:47:43Z</published>
<link rel='alternate' type='text/html' href='https://code.roseh.moe/snake/commit/?id=257f624e1587744a5665970b905f74dc999fded1'/>
<id>urn:sha1:257f624e1587744a5665970b905f74dc999fded1</id>
<content type='text'>
The only reason I picked u16 is because it's what ioctl returns for the
window size. But we're actually just hard-coding the window size, so I
don't need to use u16. I prefer to use a signed type.
</content>
</entry>
<entry>
<title>Read directly in the main game loop.</title>
<updated>2024-01-20T07:29:31Z</updated>
<author>
<name>Rose Hogenson</name>
<email>rosehogenson@posteo.net</email>
</author>
<published>2024-01-20T07:29:31Z</published>
<link rel='alternate' type='text/html' href='https://code.roseh.moe/snake/commit/?id=93c437d0708705395638fc832d2f85d0829d33c1'/>
<id>urn:sha1:93c437d0708705395638fc832d2f85d0829d33c1</id>
<content type='text'>
Turns out this is just fine and doesn't cause any issue at all.
</content>
</entry>
<entry>
<title>Use libc rand instead of rolling my own.</title>
<updated>2024-01-20T07:06:47Z</updated>
<author>
<name>Rose Hogenson</name>
<email>rosehogenson@posteo.net</email>
</author>
<published>2024-01-20T07:06:47Z</published>
<link rel='alternate' type='text/html' href='https://code.roseh.moe/snake/commit/?id=3af41c3bfd38e6a8d2c8509f48a7691f45678fbb'/>
<id>urn:sha1:3af41c3bfd38e6a8d2c8509f48a7691f45678fbb</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Clean up and simplify the code.</title>
<updated>2024-01-15T17:36:15Z</updated>
<author>
<name>Rose Hogenson</name>
<email>rosehogenson@posteo.net</email>
</author>
<published>2024-01-15T17:36:15Z</published>
<link rel='alternate' type='text/html' href='https://code.roseh.moe/snake/commit/?id=3603d42087fa9399fa7f3730a0d3c7c714d6dccc'/>
<id>urn:sha1:3603d42087fa9399fa7f3730a0d3c7c714d6dccc</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Write a simple snake game.</title>
<updated>2024-01-15T00:01:32Z</updated>
<author>
<name>Rose Hogenson</name>
<email>rosehogenson@posteo.net</email>
</author>
<published>2024-01-15T00:01:32Z</published>
<link rel='alternate' type='text/html' href='https://code.roseh.moe/snake/commit/?id=680fdffb350b2409ac1709774d3cd81144d808a4'/>
<id>urn:sha1:680fdffb350b2409ac1709774d3cd81144d808a4</id>
<content type='text'>
</content>
</entry>
</feed>
