Skip to content

Commit

Permalink
chore: comment unused constants
Browse files Browse the repository at this point in the history
  • Loading branch information
mecaneer23 committed May 17, 2024
1 parent cf16f95 commit bf4c278
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions snake.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,14 @@
from argparse import SUPPRESS, ArgumentParser, Namespace
from collections import deque
from enum import Enum
from os.path import expanduser
# from os.path import exists, expanduser
from random import randint
from typing import Iterable, Iterator

from working_initscr import wrapper

CHARACTER_ASPECT_RATIO = 19 / 9
FILENAME = expanduser("~/.config/snake-best-score.txt")
# CHARACTER_ASPECT_RATIO = 19 / 9
# FILENAME = expanduser("~/.config/snake-best-score.txt")


class DisplayableInterface: # pylint: disable=too-few-public-methods
Expand Down Expand Up @@ -467,7 +467,7 @@ def get_args(color_choices: Iterable[str]) -> Namespace:


# def fetch_best_score(score: int = 0) -> int:
# if not exists(FILENAME): # from os.path
# if not exists(FILENAME):
# with open(FILENAME, "w", encoding="utf-8") as f:
# f.write(str(score))
# return score
Expand Down

0 comments on commit bf4c278

Please sign in to comment.