Carl Worth [Thu, 5 Mar 2009 09:06:58 +0000 (01:06 -0800)]
Add visual indication of selected stack
There's already logic for selecting only stacks that belong to the
current player, and changing the current player after each move---
just no logic for doing anything with the move yet.
Carl Worth [Thu, 5 Mar 2009 09:03:05 +0000 (01:03 -0800)]
Implement placement phase of game
It's getting *close* to playable now. We still need visual
indications for the following: stack height, red piece in
stack, selected stack, and most recently moved stack. We
also need logic for legal moves as well as for removing
disconnected pieces after a move. But that's not really
that much code.
Carl Worth [Thu, 5 Mar 2009 08:41:22 +0000 (00:41 -0800)]
Remove vestiges of loa in favor of dvonn
A very minimal shell of this program began as copy-and-paste from
my loa game (of the same license). Finish fixing any remaining
leftovers from that copy-and-paste.
Carl Worth [Thu, 5 Mar 2009 08:33:54 +0000 (00:33 -0800)]
Add simplistic button-press handling
Right now this is just toggling a white ring on and off at
each location. The significant bit here is that the calculations
between board-index positions and screen coordinates are now
correct. Thanks to Keith Packard for helping me think through
some of the math here.