1
0
Fork 0
mirror of https://github.com/shlomif/PySolFC.git synced 2025-04-05 00:02:29 -04:00
This commit is contained in:
Shlomi Fish 2019-04-30 18:25:01 +03:00
parent 9142b90cb2
commit 76804c6d76
2 changed files with 17 additions and 13 deletions

View file

@ -22,16 +22,18 @@
# ---------------------------------------------------------------------------##
# imports
import os
import re
import sys
import traceback
from pickle import UnpicklingError
from pysollib.actions import PysolMenubar
from pysollib.actions import PysolToolbar
from pysollib.app_stat_result import GameStatResult
from pysollib.app_statistics import Statistics
from pysollib.gamedb import GAME_DB, GI, loadGame
from pysollib.help import destroy_help_html, help_about
from pysollib.images import Images, SubsampledImages
from pysollib.mfxutil import Struct, destruct
from pysollib.mfxutil import USE_PIL
@ -65,10 +67,6 @@ else:
from pysollib.pysoltk import destroy_solver_dialog
if TOOLKIT == 'kivy':
import logging
if True: # This prevents from travis 'error' E402.
from pysollib.actions import PysolMenubar
from pysollib.actions import PysolToolbar
from pysollib.help import help_about, destroy_help_html
_GameStatResult = GameStatResult

View file

@ -29,10 +29,24 @@ import traceback
from pickle import Pickler, Unpickler, UnpicklingError
from pysollib.gamedb import GI
from pysollib.help import help_about
from pysollib.hint import DefaultHint
from pysollib.mfxutil import Image, ImageTk, USE_PIL
from pysollib.mfxutil import Struct, SubclassResponsibility, destruct
from pysollib.mfxutil import format_time, print_err
from pysollib.mfxutil import uclock, usleep
from pysollib.move import AFlipAllMove
from pysollib.move import AFlipAndMoveMove
from pysollib.move import AFlipMove
from pysollib.move import AMoveMove
from pysollib.move import ANextRoundMove
from pysollib.move import ASaveSeedMove
from pysollib.move import ASaveStateMove
from pysollib.move import AShuffleStackMove
from pysollib.move import ASingleCardMove
from pysollib.move import ASingleFlipMove
from pysollib.move import ATurnStackMove
from pysollib.move import AUpdateStackMove
from pysollib.mygettext import _
from pysollib.mygettext import ungettext
from pysollib.pysolrandom import LCRandom31, PysolRandom, constructRandom, \
@ -57,14 +71,6 @@ if TOOLKIT == 'tk':
else:
from pysollib.pysoltk import reset_solver_dialog
if True: # This prevents from travis 'error' E402.
from pysollib.move import AMoveMove, AFlipMove, AFlipAndMoveMove
from pysollib.move import ASingleFlipMove, ATurnStackMove
from pysollib.move import ANextRoundMove, ASaveSeedMove, AShuffleStackMove
from pysollib.move import AUpdateStackMove, AFlipAllMove, ASaveStateMove
from pysollib.move import ASingleCardMove
from pysollib.hint import DefaultHint
from pysollib.help import help_about
PLAY_TIME_TIMEOUT = 200