Piece Colour Type Effects x_offset y_offset Piece Game board 2d array of pieces Check if action is valid check for action_xmin to action_xmax and action_ymin to action_ymax if action.effects(x, y) is valid For action 'test' print Allowed actions: 'test'(1,3) 'test(4,7)'