MCPcopy Index your code
hub / github.com/geekcomputers/Python / draw

Function draw

blackJackGUI.py:162–169  ·  view source on GitHub ↗
(canvas)

Source from the content-addressed store, hash-verified

160
161
162def draw(canvas):
163 canvas.draw_text(outcome, [250, 150], 25, "White")
164 canvas.draw_text("BlackJack", [250, 50], 40, "Black")
165 canvas.draw_text(score1, [100, 100], 40, "Red")
166
167 player_card.draw(canvas, [20, 300])
168 dealer_card.draw(canvas, [300, 300])
169 canvas.draw_text(score2, [400, 100], 40, "Red")
170
171
172frame = simplegui.create_frame("Blackjack", 600, 600)

Callers

nothing calls this directly

Calls 1

drawMethod · 0.45

Tested by

no test coverage detected