Age | Commit message (Collapse) | Author | |
---|---|---|---|
2021-11-15 | Change enum constants to uppercase | Olivier Gayot | |
Signed-off-by: Olivier Gayot <olivier.gayot@sigexec.com> | |||
2021-11-13 | Add optional coordinates to a piece | Olivier Gayot | |
Signed-off-by: Olivier Gayot <olivier.gayot@sigexec.com> | |||
2021-11-13 | Make sure offsets are integers, not floating point numbers | Olivier Gayot | |
Signed-off-by: Olivier Gayot <olivier.gayot@sigexec.com> | |||
2021-11-13 | Add documentation to the player module | Olivier Gayot | |
Signed-off-by: Olivier Gayot <olivier.gayot@sigexec.com> | |||
2021-11-12 | Move Player definition outside the screen package | Olivier Gayot | |
Signed-off-by: Olivier Gayot <olivier.gayot@sigexec.com> | |||
2021-11-12 | Add __init__.py files to make pylint happier | Olivier Gayot | |
Signed-off-by: Olivier Gayot <olivier.gayot@sigexec.com> | |||
2021-11-12 | Rename base class screen module base_screen to make pylint happy | Olivier Gayot | |
Signed-off-by: Olivier Gayot <olivier.gayot@sigexec.com> | |||
2021-11-12 | Move colors in an enum in Color module | Olivier Gayot | |
Signed-off-by: Olivier Gayot <olivier.gayot@sigexec.com> | |||
2021-11-12 | Move playfield outside the Player class | Olivier Gayot | |
Signed-off-by: Olivier Gayot <olivier.gayot@sigexec.com> | |||
2021-11-12 | Remove trailing newlines and add blank lines were needed | Olivier Gayot | |
Signed-off-by: Olivier Gayot <olivier.gayot@sigexec.com> | |||
2021-11-12 | Update name of screen modules according to PEP8 | Olivier Gayot | |
Signed-off-by: Olivier Gayot <olivier.gayot@sigexec.com> | |||
2021-11-12 | Add some documentation to the cameltris.piece module | Olivier Gayot | |
Signed-off-by: Olivier Gayot <olivier.gayot@sigexec.com> | |||
2021-11-12 | Place main code into main function and document it | Olivier Gayot | |
Signed-off-by: Olivier Gayot <olivier.gayot@sigexec.com> | |||
2021-11-12 | Rename the package cameltris and provide __main__.py | Olivier Gayot | |
Signed-off-by: Olivier Gayot <olivier.gayot@sigexec.com> | |||
2021-11-12 | Expect pygame.surface.Surface rather than pygame.Surface for screen | Olivier Gayot | |
Signed-off-by: Olivier Gayot <olivier.gayot@sigexec.com> | |||
2021-11-08 | Add type hints for screen package | Olivier Gayot | |
Signed-off-by: Olivier Gayot <olivier.gayot@sigexec.com> | |||
2021-11-08 | Use a nested function instead of a lambda to exit | Olivier Gayot | |
Signed-off-by: Olivier Gayot <olivier.gayot@sigexec.com> | |||
2021-11-08 | Make controller classes and screen classes inherit from abstract classes | Olivier Gayot | |
Signed-off-by: Olivier Gayot <olivier.gayot@sigexec.com> | |||
2021-11-05 | Do not use parenthesis when defining a class without inheritance | Olivier Gayot | |
Signed-off-by: Olivier Gayot <olivier.gayot@sigexec.com> | |||
2021-03-13 | Allow to pause the game | Olivier Gayot | |
Signed-off-by: Olivier Gayot <olivier.gayot@sigexec.com> | |||
2021-03-13 | Add setup.py and requirements | Olivier Gayot | |
Signed-off-by: Olivier Gayot <olivier.gayot@sigexec.com> | |||
2021-02-26 | Move piece-related stuff in a dedicated unit | Olivier Gayot | |
Signed-off-by: Olivier Gayot <olivier.gayot@sigexec.com> | |||
2021-02-13 | Implement the top out | Olivier Gayot | |
Signed-off-by: Olivier Gayot <olivier.gayot@sigexec.com> | |||
2021-02-13 | Rename stick piece lock piece | Olivier Gayot | |
Signed-off-by: Olivier Gayot <olivier.gayot@sigexec.com> | |||
2020-12-29 | Take the starting level into consideration | Olivier Gayot | |
Signed-off-by: Olivier Gayot <olivier.gayot@sigexec.com> | |||
2020-12-29 | Remove unused imports | Olivier Gayot | |
Signed-off-by: Olivier Gayot <olivier.gayot@sigexec.com> | |||
2020-12-24 | Pretend we can have multiple players now | Olivier Gayot | |
Signed-off-by: Olivier Gayot <olivier.gayot@sigexec.com> | |||
2020-12-24 | Cleanly handle the inputs | Olivier Gayot | |
Signed-off-by: Olivier Gayot <olivier.gayot@sigexec.com> | |||
2020-12-24 | Have most functions in a player object | Olivier Gayot | |
Signed-off-by: Olivier Gayot <olivier.gayot@sigexec.com> | |||
2020-12-24 | Get rid of duplicated class | Olivier Gayot | |
Signed-off-by: Olivier Gayot <olivier.gayot@sigexec.com> | |||
2020-12-23 | Abstract the controller | Olivier Gayot | |
Signed-off-by: Olivier Gayot <olivier.gayot@sigexec.com> | |||
2020-12-23 | Use argument parsing | Olivier Gayot | |
Signed-off-by: Olivier Gayot <olivier.gayot@sigexec.com> | |||
2020-12-22 | Fix rotation of T piece | Olivier Gayot | |
Signed-off-by: Olivier Gayot <olivier.gayot@sigexec.com> | |||
2020-12-22 | Implement use of joystick | Olivier Gayot | |
Signed-off-by: Olivier Gayot <olivier.gayot@sigexec.com> | |||
2020-12-22 | Display the level number | Olivier Gayot | |
Signed-off-by: Olivier Gayot <olivier.gayot@sigexec.com> | |||
2020-12-22 | Use a different color for the J | Olivier Gayot | |
Signed-off-by: Olivier Gayot <olivier.gayot@sigexec.com> | |||
2020-12-22 | Implement pressing down correctly | Olivier Gayot | |
Signed-off-by: Olivier Gayot <olivier.gayot@sigexec.com> | |||
2020-12-22 | Implement DAS mechanism | Olivier Gayot | |
Signed-off-by: Olivier Gayot <olivier.gayot@sigexec.com> | |||
2020-12-22 | Show the score | Olivier Gayot | |
Signed-off-by: Olivier Gayot <olivier.gayot@sigexec.com> | |||
2020-12-22 | Show the score in the terminal | Olivier Gayot | |
Signed-off-by: Olivier Gayot <olivier.gayot@sigexec.com> | |||
2020-12-22 | Associate the level to the fall speed | Olivier Gayot | |
Signed-off-by: Olivier Gayot <olivier.gayot@sigexec.com> | |||
2020-12-22 | Use HSL colors | Olivier Gayot | |
Signed-off-by: Olivier Gayot <olivier.gayot@sigexec.com> | |||
2020-12-22 | Inherit the colors | Olivier Gayot | |
Signed-off-by: Olivier Gayot <olivier.gayot@sigexec.com> | |||
2020-12-22 | implement default rotation mechanism and add L and J pieces | Olivier Gayot | |
Signed-off-by: Olivier Gayot <olivier.gayot@sigexec.com> | |||
2020-12-22 | Run the game at 60 FPS | Olivier Gayot | |
Signed-off-by: Olivier Gayot <olivier.gayot@sigexec.com> | |||
2020-12-22 | Show the next piece | Olivier Gayot | |
Signed-off-by: Olivier Gayot <olivier.gayot@sigexec.com> | |||
2020-12-21 | Drop pieces automatically and enable keyboard repeat | Olivier Gayot | |
Signed-off-by: Olivier Gayot <olivier.gayot@sigexec.com> | |||
2020-12-21 | Burn rows | Olivier Gayot | |
Signed-off-by: Olivier Gayot <olivier.gayot@sigexec.com> | |||
2020-12-21 | Fix intentional use of negative indexing | Olivier Gayot | |
Signed-off-by: Olivier Gayot <olivier.gayot@sigexec.com> | |||
2020-12-21 | Add piece generation and stick | Olivier Gayot | |
Signed-off-by: Olivier Gayot <olivier.gayot@sigexec.com> |