summaryrefslogtreecommitdiff
AgeCommit message (Expand)Author
2021-12-23Add script to run static type checkingOlivier 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 typos in READMEOlivier 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-13Add test for joining game without specifying the nameOlivier Gayot
2020-09-13Get rid of extra newlineOlivier Gayot
2020-09-13Use callbacks to handle the opcodesOlivier Gayot
2020-09-13Add test for play_card without card ID specifiedOlivier 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-12Add more tests for invalid commandsOlivier 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-09-12Add requirements.txt fileOlivier Gayot
2020-09-12Add test for invalid JSON receivedOlivier Gayot
2020-09-12Move systemd unit file at the right placeOlivier 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-21Update version to 0.2Olivier Gayot
2020-05-16Add unit tests for boardOlivier 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-15Update reqs. since a different WS library is now usedOlivier 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-05-14Use unittest machanism to assert on exceptionsOlivier Gayot
2020-05-12Use python3 -m pytest syntax instead of pytestOlivier Gayot
2020-05-12Add unit tests for swiftstory.StatusOlivier Gayot
2020-05-12Add unit tests for swifstory.cardsOlivier Gayot