This is the classic breakout.
Submitted to the first Rives Game Jam.
rivemu -workspace -exec riv-jit-c breakout.c
- bouncing algorithm is over simplified, only working for speed 1, and only with 45 degrees angles;
- bouncing off paddle should change angle depending on hit horizontal position;
- decay score over time;
- different brick layouts;
- power ups and power downs that change paddle size and/or ball speed;
- background music;