-
keeps shapes within side walls[2020-11-27] -
rotation of shapes[2020-11-27] -
loss if user reaches ceiling[2020-11-27] - noises when level is cleared
-
don't allow shifting left/right through an existing shape[2020-11-27] - make it mouse controlled (for location of block) and clickable
- implement leveling up
$ npm run dev
problem: once shapes are rotated, I don't know their coordinates.
possible solutions
- manually rotate using math -- this way I have the coordinates
- don't know how
- see if there is a way to get the coordinates after rotation
- I don't think there is
- do not rotate, but hard code the rotated shapes in
- ugly, takes time to calculate and such
- create a transform method that recalculates the squares location based on transform and rotation