summaryrefslogtreecommitdiff
AgeCommit message (Expand)Author
2021-12-25Remove annoying print statement from setup.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 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