MCPcopy Create free account
hub / github.com/geekcomputers/Python / draw_diagram

Method draw_diagram

BlackJack_game/blackjack_simulate.py:359–372  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

357 self.data.append(row)
358
359 def draw_diagram(self):
360 content = "Record display"
361 bars = "--" * 14
362 content_bar = bars + content + bars
363 base_bar = bars + "-" * len(content) + bars
364
365 os.system("clear")
366 print(base_bar)
367 print(content_bar)
368 print(base_bar)
369 self.digram()
370 print(base_bar)
371 print(content_bar)
372 print(base_bar)
373
374 def digram(self):
375 title = "Round\tPlayer-Point\tDealer-Point\tWinner-is\tRemain-Chips"

Callers 2

playMethod · 0.80
in_betMethod · 0.80

Calls 1

digramMethod · 0.95

Tested by

no test coverage detected