(self)
| 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" |