Added dirty bit to game to know when to do matching
Improved performance by only checking for matches on 'dirty'