Back to Week 2 submissions

Summer into AI 2026: The Patriot Gazette

Harbor defense game where ElevenLabs reads Revolutionary War quotes as you defend Boston Harbor on July 4, 1776.

Source note: Local copy of a Summer Into AI 2026 submission originally published on Substack. Screenshots, video, and audio found in the post body are mirrored locally when publicly accessible; profile and avatar images are intentionally not copied. Read the canonical post.

Participant
Jake
Week
Week 2
Canonical Substack
https://jakestrait5.substack.com/p/summer-into-ai-2026-the-patriot-gazette
Demo
https://patriot-gazette.vercel.app/
Code
https://github.com/GlimmerForge/summer-into-ai/blob/master/projects/week-02-red-white-boom/demo-06-the-patriot-gazette/README.md (link only; code is not mirrored here)
Builds on others
Yes

Week 2 of Summer into AI 2026 hosted by @advisoryhour — theme: Red, White & Boom.

Summer into AI 2026: The Patriot Gazette screenshot from the original Substack post.
Summer into AI 2026: The Patriot Gazette screenshot from the original Substack post.

The Patriot Gazette is a harbor defense artillery game set on July 4, 1776. You command a bronze cannon on the ramparts of Fort Liberty as the British fleet sails in from the horizon. Move your mouse anywhere on screen — the cannon auto-calculates the exact ballistic arc — then click to fire. British warships advance in three waves: sloops first, then frigates, then a man-of-war. Each class returns fire. Sink them all before they breach the harbor.

The AI element is a spoken quote banner: Josh — an ElevenLabs voice — reads a curated Revolutionary War-era quote aloud at the start of each wave, between waves, and on victory. A newspaper masthead strip at the top types the quote character-by-character while Josh speaks it, then fades. Quotes rotate through Patrick Henry, Thomas Paine, Benjamin Franklin, Nathan Hale, George Washington, Samuel Adams, and Thomas Jefferson.

The entire audio layer is procedural Web Audio API — rolling ocean waves with an LFO swell, a five-layer cannon boom with stone-echo reflections, an underwater gurgle as ships sink, stone crumble when the fort takes a hit, and a C–E–G–C bugle fanfare on victory. No sound files.

Summer into AI 2026: The Patriot Gazette screenshot from the original Substack post.
Summer into AI 2026: The Patriot Gazette screenshot from the original Substack post.
Summer into AI 2026: The Patriot Gazette screenshot from the original Substack post.
Summer into AI 2026: The Patriot Gazette screenshot from the original Substack post.

How the AI works

ElevenLabs Josh speaks a new quote at every major game moment — wave start, wave clear, and victory:

If the ElevenLabs key isn't set the game plays identically — the banner still types the quote, just silently.

How to play

Where to play

Demo: patriot-gazette.vercel.app

README: github.com/GlimmerForge/summer-into-ai — The Patriot Gazette


Summer into AI 2026 · Theme 2: Red, White & Boom

Original source

Canonical Substack URL: https://jakestrait5.substack.com/p/summer-into-ai-2026-the-patriot-gazette.