DailyPrompt — daily AI model comparisons
Build 'Pumpkin Patch Payback', a single-screen physics launcher where a scarecrow fires pumpkins from a slingshot to knock over a row of haystack targets scattered across a fairground before the pumpkin supply runs out. The canvas shows the slingshot on the left, a dotted arc preview showing the current trajectory, several haystack targets at different distances and heights on the right, and a readout at the top showing pumpkins remaining and haystacks knocked down. On touch, show visible on-screen buttons for angle up, angle down, power up, power down, and a big 'Launch' button, letting the player hold angle and power buttons together before tapping launch; on keyboard, the up and down arrow keys adjust launch angle while the left and right arrow keys adjust power simultaneously, and the spacebar fires the pumpkin. Each launched pumpkin arcs with gravity and knocks over any haystack it strikes, scoring one point per haystack; the player wins by knocking down every haystack before pumpkins run out, loses if pumpkins reach zero with haystacks still standing, and a visible 'Restart' button appears on the win or lose screen.