[-] akd@lemm.ee 13 points 10 months ago

IANAL but this seems stupid to try in court assuming the footage is under good chain of custody.

[-] akd@lemm.ee 3 points 1 year ago

Little People

[-] akd@lemm.ee 10 points 1 year ago

Counterpoint: it's indispensable and nothing really fills the same niche.

[-] akd@lemm.ee 27 points 1 year ago

Software was a mistake

[-] akd@lemm.ee 5 points 1 year ago

Mod of SA maybe

[-] akd@lemm.ee 16 points 1 year ago

I need this on a t-shirt

[-] akd@lemm.ee 5 points 1 year ago

Nothing wrong with that. My idea was to do a vector (or fixed-size array if you prefer) in one dimension. An example would be something like [0, 1, 2, 0, 1, 0, 2, 0, 2] (where O is 1, X is 2 and 0 represents an empty cell). The math to get the index is similar to this:

https://bfnightly.bracketproductions.com/chapter_3.html#building-a-simple-map

Might be overkill for a simple tic-tac-toe game, but if you want to rotate the board or whatever, you can just change the math you do to get the index. I'm not at all a math expert, but it seems like a reasonable approach.

[-] akd@lemm.ee 8 points 1 year ago

A simple vector seems fine. Each item in the vector is an enum representing cell state. You can translate x y coordinates to an index pretty easily.

[-] akd@lemm.ee 4 points 1 year ago

Idk The Bear is very good. Might be worth it.

[-] akd@lemm.ee 8 points 1 year ago

My initials if my middle name were Keith

[-] akd@lemm.ee 19 points 1 year ago

You seem fun

view more: next ›

akd

joined 1 year ago