MCPcopy Create free account
hub / github.com/ActiveState/code / playMatch

Function playMatch

recipes/Python/580811_Uno_TextBased/recipe-580811.py:1384–1392  ·  view source on GitHub ↗
(gs)

Source from the content-addressed store, hash-verified

1382 raise BadInputError('Data Provided Has No Function')
1383
1384 def playMatch(gs):
1385 for i in range(1):
1386 i
1387 m = Match(gs)
1388 m.begin()
1389 while (not m.isComplete()):
1390 m.nextTurn()
1391 gs = m.end(gs)
1392 return gs
1393
1394 def addPlayer(gs):
1395 colors = ['\033[91m','\033[94m', '\033[92m', '\033[93m']

Callers 1

mainMenuFunction · 0.85

Calls 6

beginMethod · 0.95
isCompleteMethod · 0.95
nextTurnMethod · 0.95
endMethod · 0.95
rangeFunction · 0.85
MatchClass · 0.70

Tested by

no test coverage detected