summaryrefslogtreecommitdiff
path: root/cameltris
AgeCommit message (Collapse)Author
2021-12-30Move __main__.py inside the packageOlivier Gayot
Signed-off-by: Olivier Gayot <olivier.gayot@sigexec.com>
2021-12-22Construct new empty rows using list repetitionOlivier Gayot
Signed-off-by: Olivier Gayot <olivier.gayot@sigexec.com>
2021-12-22Add documentation to the base_screen moduleOlivier Gayot
Signed-off-by: Olivier Gayot <olivier.gayot@sigexec.com>
2021-11-15Cut long lines in pause screen moduleOlivier Gayot
Signed-off-by: Olivier Gayot <olivier.gayot@sigexec.com>
2021-11-15Store the pygame screen instance in the Pause objectOlivier Gayot
Signed-off-by: Olivier Gayot <olivier.gayot@sigexec.com>
2021-11-15Document the Pause screen moduleOlivier Gayot
Signed-off-by: Olivier Gayot <olivier.gayot@sigexec.com>
2021-11-15Avoid redefining function exitOlivier Gayot
Signed-off-by: Olivier Gayot <olivier.gayot@sigexec.com>
2021-11-15Document the color moduleOlivier Gayot
Signed-off-by: Olivier Gayot <olivier.gayot@sigexec.com>
2021-11-15Document the pieces classesOlivier Gayot
Signed-off-by: Olivier Gayot <olivier.gayot@sigexec.com>
2021-11-15Rely on a function to set elements of a pieceOlivier Gayot
Signed-off-by: Olivier Gayot <olivier.gayot@sigexec.com>
2021-11-15Avoid importing wildcard from piece moduleOlivier Gayot
Signed-off-by: Olivier Gayot <olivier.gayot@sigexec.com>
2021-11-15Change enum constants to uppercaseOlivier Gayot
Signed-off-by: Olivier Gayot <olivier.gayot@sigexec.com>
2021-11-13Add optional coordinates to a pieceOlivier Gayot
Signed-off-by: Olivier Gayot <olivier.gayot@sigexec.com>
2021-11-13Make sure offsets are integers, not floating point numbersOlivier Gayot
Signed-off-by: Olivier Gayot <olivier.gayot@sigexec.com>
2021-11-13Add documentation to the player moduleOlivier Gayot
Signed-off-by: Olivier Gayot <olivier.gayot@sigexec.com>
2021-11-12Move Player definition outside the screen packageOlivier Gayot
Signed-off-by: Olivier Gayot <olivier.gayot@sigexec.com>
2021-11-12Add __init__.py files to make pylint happierOlivier Gayot
Signed-off-by: Olivier Gayot <olivier.gayot@sigexec.com>
2021-11-12Rename base class screen module base_screen to make pylint happyOlivier Gayot
Signed-off-by: Olivier Gayot <olivier.gayot@sigexec.com>
2021-11-12Move colors in an enum in Color moduleOlivier Gayot
Signed-off-by: Olivier Gayot <olivier.gayot@sigexec.com>
2021-11-12Move playfield outside the Player classOlivier Gayot
Signed-off-by: Olivier Gayot <olivier.gayot@sigexec.com>
2021-11-12Remove trailing newlines and add blank lines were neededOlivier Gayot
Signed-off-by: Olivier Gayot <olivier.gayot@sigexec.com>
2021-11-12Update name of screen modules according to PEP8Olivier Gayot
Signed-off-by: Olivier Gayot <olivier.gayot@sigexec.com>
2021-11-12Add some documentation to the cameltris.piece moduleOlivier Gayot
Signed-off-by: Olivier Gayot <olivier.gayot@sigexec.com>
2021-11-12Rename the package cameltris and provide __main__.pyOlivier Gayot
Signed-off-by: Olivier Gayot <olivier.gayot@sigexec.com>