Commit Graph

31 Commits

Author SHA1 Message Date
Giovani
7eb1f1edb5 feat: implement gravity on current piece 2021-06-08 17:21:15 -04:00
Giovani
9b442a44ee feat: implement stack 2021-06-08 16:09:21 -04:00
Giovani
00627bf892 refactor: reference tile size using config 2021-06-08 14:07:03 -04:00
Giovani
bb3c23a9b7 feat: add collision logic between entities 2021-06-08 14:02:23 -04:00
Giovani
b68d3ad135 refactor: add base class for all game objects 2021-06-08 12:33:58 -04:00
Giovani
60989c087e chore: change way program is launched 2021-06-08 11:13:57 -04:00
Giovani
c8766a10e3 fix: address piece generation logic issue 2021-06-08 11:12:09 -04:00
Giovani
92057af31c feat: improve the way that pieces get generated 2021-06-08 10:10:56 -04:00
Giovani
ca1cd14d80 refactor: move logic in main to its on class 2021-06-06 19:05:36 -04:00
Giovani
ff839058a6 fix: remove randomization of rotation 2021-06-04 11:31:39 -04:00
Giovani
db7968e1e8 feat: create class for well 2021-06-04 00:23:35 -04:00
Giovani
8215e82c73 fix: correct wrong color in config 2021-06-03 22:39:41 -04:00
Giovani
c10eea639d feat: create class that generates pieces 2021-06-03 22:39:27 -04:00
Giovani
2812d8a3bd feat: add rest of all piece types (L, O, S, T, Z) 2021-06-03 21:00:23 -04:00
Giovani
78dc4b6283 feat: add J piece and adjust center logic 2021-06-03 17:48:15 -04:00
Giovani
fb3e61692a chore: add information on piece rotation 2021-06-03 17:01:34 -04:00
Giovani
de2698519c feat: add rotation logic for piece 2021-06-03 16:47:39 -04:00
Giovani
1ece6dd218 feat: add ability to move piece with arrow keys 2021-06-03 15:37:25 -04:00
Giovani
b446a2f682 feat: add logic that allows piece to move 2021-06-03 15:11:37 -04:00
Giovani
5fc4f63160 feat: added border to piece 2021-06-03 14:53:13 -04:00
Giovani
6329707d96 refactor: move existing piece logic into class 2021-06-03 14:02:54 -04:00
Giovani
a0962f65a7 refactor: remove unused constant variable 2021-06-03 02:41:21 -04:00
Giovani
1ac3a221fc feat: add colors for pieces to config 2021-06-03 02:39:13 -04:00
Giovani
8f775f5089 refactor: move config load into main function 2021-06-02 22:53:19 -04:00
Giovani
bb2016a1eb feat: create config file and config manager 2021-06-02 22:51:25 -04:00
Giovani
a938b87210 feat: define preliminary piece logic 2021-06-02 19:33:33 -04:00
Giovani
22768e3a6a feat: limit frames per second to 60 2021-06-02 13:53:44 -04:00
Giovani
38164a39eb refactor: move literals into constant variables 2021-06-02 13:45:55 -04:00
Giovani
2f581a73a2 feat: add license to repo 2021-06-02 03:20:02 -04:00
Giovani
0c93501869 feat: create main loop and game window 2021-06-02 03:15:40 -04:00
Giovani
bf4de4b46b Initial commit 2021-06-02 02:43:28 -04:00