This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"global": { | |
"ask_for_confirmation_before_quitting": true, | |
"check_for_updates_on_startup": true, | |
"show_in_menu_bar": true, | |
"show_profile_name_in_menu_bar": false, | |
"unsafe_ui": false | |
}, | |
"profiles": [ | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
####################################################################### | |
## INPUT MODULE | |
import copy | |
# List of list of words | |
line_storage = None | |
def _line_check(): | |
assert line_storage is not None, "Must call putfile before calling access methods" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from typing import Iterable, Callable, Any | |
from enum import Enum, auto | |
from datetime import date | |
Comparable = Any | |
# Placeholder type hint. A "Comparable" would be an object that | |
# implements at least __lt__. | |
class OrderedEnum(Enum): |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public enum DisplayMode { | |
SMALL, | |
MEDUIM, | |
} | |
public void displayGame(DisplayMode mode) { | |
if (mode.equals(DisplayMode.SMALL)) { | |
setColorDepth(8); | |
drawRect(screen, 1024, 768); | |
} else if (mode.equals(DisplayMode.MEDUIM)) { |