Ok, main look and feel all done. If you select any of the cards in your hand it is highlighted in gold, and all possible places where you can put the card on the board are also highlighted. The check to see if one is a factor or not (one of the key parts of the card-based game for year8 maths) is probably going to be the shortest function in the whole program.
Next up, moving the selection to the board if it's a valid choice, then swap the players. All the back end is done for player hand rotation, all I need to do is flip a turn counter and refresh the hand area.
Might even be able to get a quick end-game check in there and have a fully functioning game for next revision (albeit with pre-determined cards).
Tuesday, April 12, 2011
RSS