summaryrefslogtreecommitdiff
path: root/swiftstory
AgeCommit message (Expand)Author
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
2020-05-15Use enumerate(...) instead of range(len(...))Olivier Gayot
2020-05-15Don't use getters and setters because it's PythonOlivier Gayot
2020-05-15Add cosmetic changesOlivier Gayot
2020-05-15Take the listen address and port as optional argumentsOlivier Gayot
2020-03-29Change the websocket library for the standard oneOlivier Gayot
2020-03-29Catch right type of exception when decoding JSONOlivier Gayot
2018-03-09use setuptools instead of only distutilsOlivier Gayot
2018-03-09renamed the project SwiftStoryOlivier Gayot