Setting up winning condition checker using background colors