Age | Commit message (Collapse) | Author | |
---|---|---|---|
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> | |||
2020-12-21 | Handle collisions | Olivier Gayot | |
Signed-off-by: Olivier Gayot <olivier.gayot@sigexec.com> | |||
2020-12-21 | Fix initial position | Olivier Gayot | |
Signed-off-by: Olivier Gayot <olivier.gayot@sigexec.com> | |||
2020-12-21 | Add the T piece | Olivier Gayot | |
Signed-off-by: Olivier Gayot <olivier.gayot@sigexec.com> | |||
2020-12-21 | Have a few pieces implemented | Olivier Gayot | |
Signed-off-by: Olivier Gayot <olivier.gayot@sigexec.com> | |||
2020-12-21 | Allow to move a piece on the screen | Olivier Gayot | |
Signed-off-by: Olivier Gayot <olivier.gayot@sigexec.com> | |||
2020-12-21 | Allow to display pieces on the grid | Olivier Gayot | |
Signed-off-by: Olivier Gayot <olivier.gayot@sigexec.com> | |||
2020-12-21 | make the game executable | Olivier Gayot | |
Signed-off-by: Olivier Gayot <olivier.gayot@sigexec.com> | |||
2020-12-21 | Initial commit | Olivier Gayot | |
Signed-off-by: Olivier Gayot <olivier.gayot@sigexec.com> |