惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

Apple Machine Learning Research
Apple Machine Learning Research
Google DeepMind News
Google DeepMind News
小众软件
小众软件
GbyAI
GbyAI
酷 壳 – CoolShell
酷 壳 – CoolShell
F
Fortinet All Blogs
博客园 - 三生石上(FineUI控件)
B
Blog
量子位
B
Blog RSS Feed
Vercel News
Vercel News
Blog — PlanetScale
Blog — PlanetScale
Last Week in AI
Last Week in AI
博客园 - 叶小钗
MongoDB | Blog
MongoDB | Blog
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
爱范儿
爱范儿
Jina AI
Jina AI
C
Check Point Blog
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
IT之家
IT之家
H
Hackread – Cybersecurity News, Data Breaches, AI and More
云风的 BLOG
云风的 BLOG

DEV Community

Authentication Security Deep Dive: From Brute Force to Salted Hashing (With Java Examples) Why AI Systems Don’t Fail — They Drift Spilling beans for how i learn for exam😁"Reinforcement Learning Cheat Sheet" I Replaced Chrome with Safari for AI Browser Automation. Here's What Broke (and What Finally Worked) How Python Borrows Other People's Work The $40 Architecture: Processing 1 Billion API Requests with 99.99% Uptime Vibe Coding: A Workflow Guide (From Zero to SaaS) Most webhook security guides protect the wrong side. The scary part is delivery. Headless CMS for TanStack Start: Build a Blog with Cosmic EU Age Verification App "Hacked in 2 Minutes" — What Actually Happened Comfy Cloud’s delete function does not actually remove files Running AI Models on GPU Cloud Servers: A Beginner Guide Event-driven media intelligence with AWS Step Functions and Bedrock I scored 500 AI prompts across 8 quality dimensions — here's what broke How to Call Google Gemini API from Next.js (Free Tier, No Backend Needed) The Portal Protocol: Reclaiming Human Connection in the Age of AI How to Fix Your Team's Scattered Knowledge Problem With a Self-Hosted Forum Intro to tc Cloud Functors: A Graph-First Mental Model for the Modern Cloud Designing Multi-Tenant Backends With Both Ownership and Team Access I Built a Neumorphic CSS Library with 77+ Components — Here's What I Learned PostgreSQL Performance Optimization: Why Connection Pooling Is Critical at Scale Cómo construí un SaaS multi-rubro para gestionar expensas en Argentina con FastAPI + Vue 3 🚀 I Built an Ethical Hacking Scanner Tool – Open Source Project I Replaced /usage and /context in Claude Code With a Single Statusline A Pythonic Way to Handle Emails (IMAP/SMTP) with Auto-Discovery and AI-Ready Design I Collected 8.9 Million Polymarket Price Points — Here's What I Found About How Markets Really Move EcoTrack AI — Carbon Footprint Tracker & Dashboard Everyone's Using AI. No One Agrees How. 5 self-hosted ebook managers worth trying in 2026 Building Your First AI Agent with LangChain: From Chatbot to Autonomous Assistant
🏃🏿‍♂️ FREE AT DAWN: Survive the Shortest Night in this Ge...
Aayushi Goel · 2026-06-21 · via DEV Community

Aayushi Goel

June Solstice Game Jam Submission

This is a submission for the June Solstice Game Jam

What I Built

FREE AT DAWN is a dynamically generated, historical survival-runner powered by Google's Gemini API.

Set on the night of June 18, 1865 in Texas, you play as an enslaved person who has just heard whispers that the Emancipation Proclamation was signed two years ago. The enslavers have kept it a secret, but the truth is finally spreading. Your goal is to run toward Galveston to hear General Order No. 3 read aloud at dawn (Juneteenth).

How it relates to the theme: The game uses the concept of the June Solstice (the longest day of the year) as a metaphor for freedom. The tagline is: "Survive the shortest night. Run toward the longest day." As you progress, the sky physically transitions from a terrifying midnight into the glowing sunrise of the solstice.

🎮 How to Play

You are constantly running forward. You must avoid obstacles while outrunning the enslaver patrols behind you.

  • Jump: Press SPACE, UP ARROW, or SWIPE UP on mobile.
  • Double Jump: Press jump again while in mid-air to clear large obstacles or fences.
  • Powerups: Collect glowing lanterns to gain a speed boost and widen the gap between you and your pursuer.
  • The Crossroads: When you reach a checkpoint, the game pauses. You will be presented with a historical dilemma generated live by Gemini AI. The path you choose will physically alter the weather, terrain, and obstacles in the next stage of your run!

Code

How I Built It

I built this game entirely from scratch using pure HTML5 Canvas and Vanilla JavaScript—zero external game engines.

The core of the game relies on Gemini 1.5 Flash acting as an AI "Dungeon Master." At every checkpoint, the game sends your progress to Gemini, which returns a structured JSON payload containing a historical dilemma and environmental variables. My custom canvas engine then parses this JSON to physically alter the game's physics, weather, and terrain (e.g., rendering grass, water, or storms) on the fly based on the AI's decisions.

Prize Category

I am submitting this game for Best Google AI Usage.

In Free at Dawn, Gemini is not just used to generate text or pre-render assets—it is the literal core engine of the game. It controls the weather, dictates the physical terrain the player must navigate, dynamically alters the physics multipliers (e.g., mud slows you down), creates the narrative tension, and generates a personalized ending. The game logic and the AI are inextricably linked. Without Google AI, the game cannot function!

"Now it's your turn. Survive the night, make the right choices, and reach the light! 🌅"