Pergunta de entrevista da empresa OppFi

Given the rules for a flag-gathering game and skeleton code, implement a game scoring algorithm. The game had Scottish and Welsh rules, minor variations on scoring. You'll be asked to complete both variations. I was dinged during the technical interview for not listening to the engineers when they offered guidance and a sub-par solution. All tests for both variations passed with plenty of time to spare.