- improve key-press cycle (include toggle)
- add scoring to L paddle
input: paused_toggle: bool config: paused: bool
only update config when input is released -> input paused == true && keyboard event: paused == false
- [ ] Change drawing stuff from IO module to UI
- [X] Create angles / reflection code
- I think we’ll have to do the cumborsome way of:
- Finding nearest intersection point
- Finding distance to intersection poing
- Finding angle to draw from intersection point
- Drawing from intersection point (and the searching for another intersecting line): back to the first step
- I think we’ll have to do the cumborsome way of:
- [ ] benchmark different intersection algorithms to find the most efficient
- [ ] ? Rename line to line segment & generally rename words about lines / segments / chords / rays / points / slopes etc…
- We need some way of differnetiating lines which are [(x,y), (x,y)] and lines which are y = 2x + 4 (<- slopes?)
- [X] Create a to_slope method for Vectors ?
-
- how generic do we want to make this?