Game Logic Rev 1

First attempt at Game Logic. Current status is horribly buggy.

Added logic for special card functions and different interactions with
game buttons. Will revise as soon as possible.