summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--swiftstory/__main__.py8
-rw-r--r--swiftstory/board.py (renamed from swiftstory/Board.py)0
-rw-r--r--swiftstory/cards.py (renamed from swiftstory/Cards.py)0
-rw-r--r--swiftstory/client.py (renamed from swiftstory/Client.py)0
-rw-r--r--swiftstory/game.py (renamed from swiftstory/Game.py)6
-rw-r--r--swiftstory/game_manager.py (renamed from swiftstory/GameManager.py)4
-rw-r--r--swiftstory/player.py (renamed from swiftstory/Player.py)0
-rw-r--r--swiftstory/status.py (renamed from swiftstory/Status.py)0
-rw-r--r--tests/test_board.py2
-rw-r--r--tests/test_cards.py2
-rw-r--r--tests/test_status.py2
-rw-r--r--tests/test_swiftstory.py2
12 files changed, 13 insertions, 13 deletions
diff --git a/swiftstory/__main__.py b/swiftstory/__main__.py
index 0b5d7c7..00c6e39 100644
--- a/swiftstory/__main__.py
+++ b/swiftstory/__main__.py
@@ -9,13 +9,13 @@ import json
import logging
import websockets
-import swiftstory.GameManager
+import swiftstory.game_manager
from swiftstory.exception import WrongAction, JoinError
-from swiftstory.Client import Client
-from swiftstory.Status import error
+from swiftstory.client import Client
+from swiftstory.status import error
-game_manager = swiftstory.GameManager.GameManager()
+game_manager = swiftstory.game_manager.GameManager()
def message_received_handler(client, message):
diff --git a/swiftstory/Board.py b/swiftstory/board.py
index c9b2aee..c9b2aee 100644
--- a/swiftstory/Board.py
+++ b/swiftstory/board.py
diff --git a/swiftstory/Cards.py b/swiftstory/cards.py
index d570f87..d570f87 100644
--- a/swiftstory/Cards.py
+++ b/swiftstory/cards.py
diff --git a/swiftstory/Client.py b/swiftstory/client.py
index a84783d..a84783d 100644
--- a/swiftstory/Client.py
+++ b/swiftstory/client.py
diff --git a/swiftstory/Game.py b/swiftstory/game.py
index ea0582a..cda3ddd 100644
--- a/swiftstory/Game.py
+++ b/swiftstory/game.py
@@ -1,9 +1,9 @@
import random
from swiftstory.exception import WrongAction, JoinError
-from swiftstory.Player import Player
-from swiftstory.Board import Board
-from swiftstory.Status import error, success
+from swiftstory.player import Player
+from swiftstory.board import Board
+from swiftstory.status import error, success
class Game:
diff --git a/swiftstory/GameManager.py b/swiftstory/game_manager.py
index 52ce554..a87f67e 100644
--- a/swiftstory/GameManager.py
+++ b/swiftstory/game_manager.py
@@ -2,8 +2,8 @@ import logging
import os
from swiftstory.exception import UnsupportedLanguage
-from swiftstory.Game import Game
-from swiftstory.Cards import Cards
+from swiftstory.game import Game
+from swiftstory.cards import Cards
class GameManager:
diff --git a/swiftstory/Player.py b/swiftstory/player.py
index 7193b64..7193b64 100644
--- a/swiftstory/Player.py
+++ b/swiftstory/player.py
diff --git a/swiftstory/Status.py b/swiftstory/status.py
index fb8347b..fb8347b 100644
--- a/swiftstory/Status.py
+++ b/swiftstory/status.py
diff --git a/tests/test_board.py b/tests/test_board.py
index 6b0fefd..5344122 100644
--- a/tests/test_board.py
+++ b/tests/test_board.py
@@ -1,6 +1,6 @@
import unittest
-from swiftstory.Board import Board
+from swiftstory.board import Board
class TestBoard(unittest.TestCase):
diff --git a/tests/test_cards.py b/tests/test_cards.py
index ea49847..a5e4437 100644
--- a/tests/test_cards.py
+++ b/tests/test_cards.py
@@ -1,6 +1,6 @@
import unittest
-from swiftstory.Cards import Cards
+from swiftstory.cards import Cards
class TestCards(unittest.TestCase):
diff --git a/tests/test_status.py b/tests/test_status.py
index 5c48cd0..9fa65d0 100644
--- a/tests/test_status.py
+++ b/tests/test_status.py
@@ -1,7 +1,7 @@
import json
import unittest
-import swiftstory.Status as Status
+import swiftstory.status as Status
class TestStatus(unittest.TestCase):
diff --git a/tests/test_swiftstory.py b/tests/test_swiftstory.py
index 5c1c2bc..aac1865 100644
--- a/tests/test_swiftstory.py
+++ b/tests/test_swiftstory.py
@@ -1,7 +1,7 @@
import unittest
import swiftstory.__main__ as SwiftStory
-from swiftstory.Status import error
+from swiftstory.status import error
class TestSwiftStory(unittest.TestCase):