tynet-lichat/stevenchan - IRC Chatlog
Search
4:16:17
gingerale
Not sure what's going on but slept really badly. My left arm was feeling really numb at night, chest felt uncomfortable, and when I finally slept and woke up I was covered in sweat.
6:53:38
gingerale
Yeah, it really does feel like circulation issues. I've still an hour and half until the call appointment.
8:38:39
gingerale
Okay, the chat managed to connect and they contacted my psych and she'll call me in ten minutes.
12:20:33
isoraqathedh
I need to accomodate different moving styles for pieces, so I thought, "well, instead of looking for just-pressed keyboard events and then directly moving the piece, I can have a system wait for keyboard events and then convert them into my own events, and then use that instead." And then it would be easier to rewrite the systems to handle rebindable keys as well, so that works out.
12:37:30
isoraqathedh
Most pieces only have one place they can move to, but there are exceptions: the FIDE Pawn moves exactly like in FIDE Chess, and the Feeble Queen and the Feeble Chancellor can choose between two.
12:38:08
isoraqathedh
So my first thought is "okay, SPC moves the piece", and that works for the R, N, A and K, but now I /have/ to implement the Q and the P.
12:39:26
isoraqathedh
The four possible moves of the pawn can easily be I J K L (W A S D) (imagine the pawn on , (X)) but the Queen...
12:41:15
isoraqathedh
... the Queen, I'm thinking that if the two destinations are on the same rank, then use J L, otherwise if they are in the same file use I K. These are the only two possible ways the two choices can be laid out.
12:41:35
isoraqathedh
But that's stupid on the Chancellor, which can move like an R(Feeble) and an N(Feeble).