Skip to content

Commit 8c6c156

Browse files
committed
remove extra space, fix sdcard high score config initialization
1 parent 76475fe commit 8c6c156

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

CircuitPython_GameAndWatch_Octopus/code.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,14 @@
1414
# main group that we'll show in the display
1515
main_group = Group()
1616

17-
# create instance of OctopusGame
17+
# create instance of OctopusGame, high score disabled
1818
octopus_game = OctopusGame()
1919

2020
# uncomment this instead, to use NVM highscore
2121
#octopus_game = OctopusGame(high_score_type=OctopusGame.HIGH_SCORE_NVM)
2222

2323
# uncomment this instead, to use SDCard highscore
24-
#octopus_game = OctopusGame(high_score_type=OctopusGame.HIGH_SCORE_NVM)
24+
#octopus_game = OctopusGame(high_score_type=OctopusGame.HIGH_SCORE_SDCARD)
2525

2626

2727
# add octopus game to main group

CircuitPython_GameAndWatch_Octopus/octopus_game_helpers.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -432,7 +432,6 @@ def reset(self):
432432
# high score is disabled
433433
pass
434434

435-
436435
def a_button_press(self):
437436
"""
438437
(A) Button action function. code.py will poll hardware and call this as needed

0 commit comments

Comments
 (0)