Finishes DiceInterface Refactoring and Continues Tests Implementation

This commit is contained in:
2023-04-24 12:15:51 -03:00
parent b869ee74fb
commit 9202331852
19 changed files with 629 additions and 190 deletions

View File

@@ -1,4 +1,4 @@
from diceplayer.shared.external.dice import Dice
from diceplayer.shared.interface.dice_interface import DiceInterface
from diceplayer.player import Player
from pathlib import Path
@@ -7,7 +7,6 @@ import logging
import pickle
import sys
__VERSION = "v0.0.1"
@@ -51,7 +50,7 @@ def main():
output_path = Path(args.outfile)
if output_path.exists():
output_path.rename(str(output_path)+".backup")
output_path.rename(str(output_path) + ".backup")
except Exception as err:
sys.exit(err)
@@ -66,5 +65,6 @@ def main():
player.start()
if __name__ == "__main__":
main()
main()