summaryrefslogtreecommitdiffstats
path: root/src/rand.rs
diff options
context:
space:
mode:
authorRose Hogenson <rosehogenson@posteo.net>2024-01-19 23:47:43 -0800
committerRose Hogenson <rosehogenson@posteo.net>2024-01-19 23:47:43 -0800
commit257f624e1587744a5665970b905f74dc999fded1 (patch)
tree10cf6ac1b802b35f8a5d05e675e307b82b63362a /src/rand.rs
parentRead directly in the main game loop. (diff)
downloadsnake-257f624e1587744a5665970b905f74dc999fded1.tar.zst
Use i8 for position instead of u16.
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.
Diffstat (limited to 'src/rand.rs')
0 files changed, 0 insertions, 0 deletions