1. 03 déc., 2025 2 validations
    • amine-aitmokhtar's avatar
      feat: add game event buffering and persistence · cc87c341
      amine-aitmokhtar a écrit
      Introduces a new 'game_events' table and buffering system to track granular
      game events (inputs, scores, system states) alongside the existing game runs.
      
      Changes:
      - db.js:
        - Create `game_events` table (sensor_id, event_data, timestamp).
        - Add `bufferGameEvents` function to handle JSON event serialization.
        - Update `flushBuffer` to perform a single transaction for both runs and events.
        - Wrap database initialization in a transaction for safety.
      
      - server.js:
        - Integrate `bufferGameEvents` into `sendMonitorEvent` for automatic logging.
        - Add source tracking (arduino vs frontend) to input events.
        - Add system events for client/monitor connections and disconnections.
        - Capture 'speed' events from Arduino.
      cc87c341
    • amine-aitmokhtar's avatar
  2. 02 déc., 2025 5 validations
  3. 30 nov., 2025 9 validations
  4. 29 nov., 2025 5 validations
  5. 22 nov., 2025 4 validations
  6. 21 nov., 2025 12 validations
  7. 20 nov., 2025 3 validations