                                 :music (memo-sound "sound/fond.mp3")
                                 :bg-width (:width background)
                                 :bg-height (:height background)
-                                :last-spawn 0))]
+                                :last-spawn 0
+                                :events []))]
 
                (add-timer! screen :ambiant-sound 3 3)
                (sound! (:music screen) :loop)


                 (game-over screen)

                 (->> entities
                      (step! screen)
                      change-player-level
                      (animate-player screen)
                      (animate-plante screen)
                      (animate-enemies screen)
                      (map set-enemy-in-zone)
                      (map move-enemy)
                      (render! screen)))))

           :on-key-down
           (fn [{:keys [key]} entities]
             (when-let [direction (key->direction key)]
               (on-key-move-cell entities direction)))

           :on-resize
           (fn [screen _]

                (create-player-entity screen)]))

           :on-render
           (fn [screen entities]


             (clear!)

