Project: canvas
Task (challenging): When the weather is night, a new item type 'Bomb' is provided: it appears as a nuclear symbol. After obtaining it, you have bombs that can be used, maximum is 3. player default has 3 bombs. The current quantity owned is displayed below the health points in the upper right corner. When we pressing 'b' we use one Bomb, it eliminates all enemies, deals one damage to the boss, and clears the boss's bullets. Bomb explosion has a 0.5s animation for the entire canvas, causing the canvas to shake, with the overall canvas superimposing a repeated nuclear symbol pattern. Note: Do not forget to implement the new method.