add message and mode switch

add message and 3-card-matching mode switch control (3-card-matching is
not working now)