logic for checking completeness of the playfield