()
| 81 | graph.pack() |
| 82 | |
| 83 | def high_score_table(): |
| 84 | global HS_database |
| 85 | # Create high score table. |
| 86 | if not globals().has_key('HS_database'): |
| 87 | HS_database = load_HST() |
| 88 | string = format_HST(HS_database) |
| 89 | graph.create_text(WIDTH / 2, HEIGHT / 2, text=string, font='Courier 15', fill=HST_COLOR, tag='HST') |
| 90 | graph.create_text(WIDTH / 2, 75, text='Start Game', font='Helvetica 25', fill=B1_COLOR, tag='start') |
| 91 | graph.tag_bind('start', '<Any-Enter>', select_start) |
| 92 | graph.tag_bind('start', '<Any-Leave>', deselect_start) |
| 93 | graph.tag_bind('start', '<1>', start_game) |
| 94 | graph['background'] = HST_BACK |
| 95 | |
| 96 | ################################################################################ |
| 97 |
no test coverage detected