summaryrefslogtreecommitdiff
path: root/swiftstory
AgeCommit message (Expand)Author
2021-12-29Add docstrings to all modulesOlivier Gayot
2021-12-29Import resource_stream to reduce size of linesOlivier Gayot
2021-12-29Make list_languages a static method since it does not use selfOlivier Gayot
2021-12-29Add type hinting everywhere so we can enable strict mypy optionsOlivier Gayot
2021-12-27Remove unnecessary module importsOlivier Gayot
2021-12-26Make cards be part of the Python package dataOlivier Gayot
2021-12-25Move WS code outside the main into swiftstory.interface.ws.pyOlivier Gayot
2021-12-23Add type annotations to client.py and game.pyOlivier Gayot
2021-12-23Add type annotations to board.pyOlivier Gayot
2021-12-23Add type annotations to player.py and status.pyOlivier Gayot
2021-12-23Avoid dependency on Client from GameOlivier Gayot
2021-12-23Refactor GameManager and add control over game creationOlivier Gayot
2021-12-23Move FS operation outside the initializer of GameManagerOlivier Gayot
2021-12-23Feed the picks directly to the board, without storing them firstOlivier Gayot
2021-12-23Use an enumeration for the game stateOlivier Gayot
2021-12-23Use a language container rather than a dictionaryOlivier Gayot
2021-12-23Don't store a reference to a client from the playerOlivier Gayot
2021-12-23Fix reception of card having wrong indexOlivier Gayot
2021-12-23Make sure our use of websockets package is forwards compatibleOlivier Gayot
2021-12-23Add required annotations to make sure mypy succeedsOlivier Gayot
2021-12-23Add back not so unused module ...Olivier Gayot
2021-12-23Use lowercase module namesOlivier Gayot
2021-12-23Use __main__.py instead of SwiftStory.pyOlivier Gayot
2020-11-02Fix typo s/colletion/collectionOlivier Gayot
2020-11-02also add the JoinError exception typeOlivier Gayot
2020-11-01Add UnsupportedLanguage exceptionOlivier Gayot
2020-11-01Add WrongAction exception and use it instaed of returning errorOlivier Gayot
2020-11-01fix error not propagated when collecting cardsOlivier Gayot
2020-11-01replace calls to print by calls to loggingOlivier Gayot
2020-09-13Get rid of extra newlineOlivier Gayot
2020-09-13Use callbacks to handle the opcodesOlivier Gayot
2020-09-13Use f-string instead of + operator to concat stringsOlivier Gayot
2020-09-13Handle exception when JSON received is not an objectOlivier Gayot
2020-09-12Handle JSON with no opcodeOlivier Gayot
2020-09-12Use _ name for unused counterOlivier Gayot
2020-09-12Remove useless use of list comprehensionOlivier Gayot
2020-09-12Fix accidental use of tuple in enumerationOlivier Gayot
2020-09-12Remove unused importsOlivier Gayot
2020-09-12Fix missing module name in exception typeOlivier Gayot
2020-05-28Rename function swiftory connection_handlerOlivier Gayot
2020-05-28Don't use coroutines for functions sending notificationsOlivier Gayot
2020-05-21Don't pass both the client and the socketOlivier Gayot
2020-05-21Properly handle disconnections from remote endOlivier Gayot
2020-05-21Fix reception of cards after playingOlivier Gayot
2020-05-15Store cards as tuples (id, desc)Olivier Gayot
2020-05-15Don't pass the cards to the constructor of boardOlivier Gayot
2020-05-15Rework the recycling of the cardsOlivier Gayot
2020-05-15Simplify instructionsOlivier Gayot
2020-05-15Specify the encoding to use when opening card filesOlivier Gayot
2020-05-15Store cards as a JSON list instead of plain textOlivier Gayot