Skip to content

3031 source-verified AI-built games from 2724 repos, attributed to GPT-6 Astra, GPT-6.1 Sol, Gemini 4 Argon, Claude Opus, Claude Sonnet and Claude Fable

16.2 KB
Raw Blame
{
  "repo": "vannorman/space_attack",
  "created_at": "2026-10-03T02:51:01Z",
  "pushed_at": "2026-10-03T21:07:49Z",
  "description": null,
  "homepage": null,
  "default_branch": "main",
  "language": "JavaScript",
  "readme": "# Space Attack \nThis project was built in about 1.5 hours using Codex GPT-6.1 Sol Light in VSCode. All assets, code, game logic, etc. was built using AI and no manual tweaks were made other than prompts.\n\nHere is a playable demo: [Space Attack](https://vannorman.github.io/space_attack/)\n\n## Methodology\nAs a veteran game developer I found it most productive to dump a stream of consciousness into a single large prompt to get the project started, which I felt would cover all the basics like intro screen, player control, collision detection, levels/waves, weapons and bullets, difficulty curve, etc. I've found that with modern AI (as of Oct 2026) it does a great job of building a typical simple project with a large prompt like this. I set everything to be rendered on a canvas so that drawing and updating the game could be done in the most straightforward way (no divs or css to keep track of).\n\nMy plan was to start here, add a lot of variables to tweak, then possibly even add a tweak editing interface to the game itself so that I could change things like speed, enemy count, behaviors etc in real time so I could converge on an ideal game experience / game loop. However, due to restricted time I skipped this and simply played the game myself, took notes, fed those notes back into the model, and I did this 3 times in total to get the end result. \n\n## Opinion of AI quality\nI was blown away by how effective GPT 6.1 Sol Light (its lowest setting) was at creating this html/javascript space shooter, including png graphics, particles, and \n\nMost impressive of all was it harnessing the built-in window.AudioContext for creating synth sounds like sine, saw, etc, then combining those for music. I've actually got the game music stuck in my head as I write this!\n\nAs the AI built the app it move outside the boundary of the happy path a few times; things like \"n to mute\", \"click to hear title music\" which I didn't want; enemies that were too easy, moved too much, and other small tweaks; ship tilted the wrong way during moving; virtual doors closing between levels was much too fast; etc. But these were extremely minor and honestly, any game development project requires a ton of iteration on dozens or hundreds of tiny tweaks like these.\n\nOverall this project has underscored my confidence in my prompting/AI gen/iteration cycle. At 1.5 hours some of the biggest barriers to production became my literal typing speed (approx 70 wpm) and the thinking speed of the model (each of my 3 prompts took between 3 - 7 minutes to complete). \n\nWe're getting close to being able to move at the speed of thought, which is, quite frankly, insane, and pretty awesome.\n\n## What I'd change about this game next\nI'd use ES6/import module architecture, then I'd abstract and import all the components including consts, Synth, Player (collect/fire/damage/health/etc), Particles, and Game management into their own classes. \n\nThe end result should be a master game.js file which imports everything and organizes up the high level setup/execution of the game for easy parsing/maintainability.\n\n## Prompts\nHere are the prompts I used.\n\n### Prompt 1\nOverall game architecture and prototype.\n```\nbuild a 3-page app including html, js and css. it will be a 2d top down shooting game where the player controls a ship with wasd and arrow keys. ship starts at the bottom, and enemies come from the top. the background is procedurally generated space with 3 sets of parallax white or white-gray stars with the occasional planet scrolling down from the top. before the game starts, a title page appears with the name in large letter and the instructions. Press wasd or arrow key or space to start. Everything, including text, is rendered via html canvas which renders in 9:5 aspect ratio in the full browser page. once started, lives are represented at the top left with an icon of a blocky red, gray and blue ship, where gray is the dominant color. the ship has two cannons represented by vertical bars on the edge of the ship. firing results in a bullet fired from each cannon traveling upwards at a modest speed. hodling the fire button (space) fires at a constant rate determined by the player's current upgrade level, starting at 0 with a delay of 0.3s between each shot. as enemies appear from the top they appear in a grid and emerge from the top of the screen, starting completely off screen. enemies and the player are both about 10% page height in scale. as enemies come down from the top in a grid, the grid is sparsely populated in a 6 x 3 offset hexagonal grid. enemy ships are procedurally generated per wave out of circles, boxes, and triangles in the colors red, green, purple, and light blue. as the game progresses, a level difficulty meter ticks up over the course of each wave. Once a wave is completed, the difficulty meter ticks up as a float, starting at 0.0 where enmies move slowly and do not fire. difficulty ticks up at 0.1 per wave until the boss level, and each level is comprised of 3 waves + math.floor difficulty. after each wave, a virtual metal door closes from the bottom and top of the screen and once closed, text appears showing your stats. press any key to continue, then the doors open and the wave advances by 1 and difficulty by 0.1. After the number of waves is completed for this level, the final wave is a boss ship which will be a single ship of size 20% + 5% + difficulty floor. the boos ship moves mores slowly and does not appear from the top, but is already on screen when the wave starts. regular enemies have hit points of 10 + floor difficulty x 3, and each bullet does 1 damage. explosions are rendered procedurally and appear as particles; the game will have a particle system which can render particles after player rockets (when acquired) and after enemy rockets fire as a smoke trail, and for explosions. smoke is mostly gray fading to black and growing larger as a smoke trail, and explosions are dominantly red and white which fade to black as the particles grow. make sure all constants determining things like wave progression, difficulty progression, ship size, particle definitions, enemy ship definitions, etc are consts at the top of the file for easy visibility and tweaking. we will also be using procedurally generated sounds in the html window; sounds can be 8-bit sounding and should inculde simple music, bullet firing sounds, bullet impact sounds, explosions. soudns will also include music, which will have various themes of long funky bass lines, slow tempo pop drums, and arpaggios and occasional synth style solos. the player may control their ship all across the screen and when they contact an enemy bullet they lose 1 + difficulty mod health, and if player collides with an enemy ship or boss ship health takes a 10 * difficulty modifier hit. ship hit points start at 100 and are represented by a thin pale white circular shield around the ship which turns orange and red when health dips below 50% and 10%. When player dies the virtual doors close and the wave restarts and ship life counter ticks down. it starts at 3 and when it reaches -1 the doors close with game over message and press any key to restart. the game also has pickups which are spawned randomly and float down from the top, randomly from enemies + some difficulty modifier chance, and bosses always spawn 3 + difficulty + random chance items. items include missiles, bombs, weapon upgrades, shields, and extra life. missiles, when acquired, give the player the ability to push m to fire missiles, which do 10 damage each. missile packs are acquired when the palyer touches them and a sound is played. missile packs contain 1 -3 missiles. bombs may also be acquired, when acquired player can press b to drop a bomb which moves slowly to the center of the screen until it explodes, causing explosion particles across the entire map and 5 damage per every 10% width square of the page. This means that boss ships which take up more area are more affected by bombs and will take more damage. All ships, including player, enemy, and boss smoke once they reach 50% and 15% health, with more smoke appearing with more damage. when shield items are picked up by player, their health circle bar is replenished by 50%. If health is full, shield pickups allow for up to 300% health; each successive 100% is represented by an additional concentric ring outside the original ring. weapon upgrade pickups add an addiitonal vertical gun to the side of the player's ship, and player can have a maximum of 3 guns on each side. Each gun fires bullets the same way. there is also a different style weapon upgrade pickup which increases the rate of fire. all pickups, incluidng bombs, weapon upgrade, missles, and rate of fire upgrade are represented with icons and a large number next to the icon representing count along the top of the screen. Ask clarifying questions before creating the entire game.\n\nCodex: Before I build it, please clarify:\n1. Does “3-page app” mean three files (index.html, style.css, game.js) or three separate HTML pages? I suggest three files with all screens rendered in the canvas.\n2. What title and visual style would you like? Default: Starfall, with crisp pixel-style ships.\n3. Are these difficulty formulas suitable?\n   - Bullet damage: 1 + floor(difficulty)\n   - Collision damage: 10 × (1 + difficulty)\n   - Boss height: 25% + 5% × floor(difficulty), capped at 60%\n\nMe: 3 files, html, css, and js.\nvisual style, sure let's go with starfall.\nyes, defaults acceptable.\n\n```\n\n### Prompt 2\nSignificant tweaks to features, game progression, and assets.\n``` \nI played the game and everything is working as expected. I noted the following tweaks that need to be made. review each one and consider if implementing them is straightforward. If it is, go ahead and do it. If not, ask any clarifying questions needed before implementing it.\nHere are all the tweaks you're to make:\nship designs are too geometrical and boring. generate pngs for the player ship, enemy ships, and boss ships, and use those instead of the shapes that are currently used. don't delete the shapes code, but comment it out with a note \"moved to pngs\". Include 5 pngs total for the player ship to include left/right animation.\ntop bar is too boring. use generated stylized Starfall pngs for each icon.\nbackground is too boring. include more variety in the planets, space stations, satellites, and other space objects. they should remain sparse as they are.\nboulders/asteroids should fall from the top of the screen sometimes randomly according to difficulty (none on first 3 waves). boulders damage for 50.\nthere are 4 different music tracks. the existing track is perfect. Add a new track for the beginning of the game; more anthem, more trumpet sounding, more pre-war. Add a new track for the doors closing, music should change during door close animation; downtempo lower tones. Finally, add a track for game over, a sad, slightly whiney downtempo low defeat sound that doesn't loop but runs for 10 seconds before ending.\nm - missiles needs to change; use f for missiles instead.\nenemy bullets don't hurt enough. start out with a higher damage to player ship per bullet\nenemy attacks should evolve over time, with a different color/style per attack type. none, straight bullets, angled bullets, homing bullets, missiles, burst of bullets, double bullets, faster bullets. mix and match different enemy weapon types. enemy weapon type progression with wave/level are randomized according to a seed. There should be 10+ in total and each wave they have a different one. They can repeat, and the same enemy weapon can appear with stronger upgrades.\nincrease player ship damage when colliding\nspace to resume, not ESC\npickup sound should be more hype\nneed sound for impact with another ship/damage\nmore enemies, smaller enemies,\nenemies dance (move/jerk up, down, left, right in time with music)\n- different enemies have differnet dance patterns\n- enemies should be animated like they have little arms or wings that fold and unfold in time with music but every other beat or so.\n  doors closing is too fast; slow it down, add pause and key press, couple seconds delay,\ndoors make a crashing, echo sound when they close\nmissiles autohome - this is not desired; missles shoot straight up only\nmissles should slow down 3x\nship should animate flying left and right by appearing to tilt (5 total frames including center)\nship should have white/red particle engines, engines should fire bigger fire/more particles when moving, adjuster rockets at 45 degrees at bottom of ship should reflect left/right movement\nplanets should be more solid; rings around planets should have part of the ring in front and part obscured by planets\nenemies should only shoot directly down at first; higher difficulties may have different enemy attacks including directed ballistic shots and homing missiles at higher levels\ndifficulty curve is too intense; enemies shoot too frequently in the beginning\nenemies should not shoot until fully on screen\nbullets need to make sounds when they shoot from enemy (more warbly/wah sounding than player bullets)\nexplosion sound is a bit too loud and a bit too staicy; add some bass to it and echo\ndifficulty curve was 0, 0, 4, 4, 4, 4, should be => 0 1 2 3 4 5\nenemies should return to top and extend wave if you didn't kill them.\n\nCodeX: ’ll review the code and implement the straightforward tweaks. I’ll use the imagegen skill for the ship sprites and HUD icons. I’ll also check the difficulty calculation, since the reported jumps could be a meter bug rather than the progression rule.\n\nLoaded a tool, read files\n\nFor “difficulty should be 0 1 2 3 4 5,” I suggest displaying a wave-based threat tier that rises by 1 after each cleared wave, while retaining a gentler internal 0.1 difficulty step for health and speed. Is that what you mean, or should the underlying difficulty itself increase by 1?\n\nMe: Display sequential tiers; keep gentle scaling\n\n```\n\n### Prompt 3\nMinor tweaks, additional weapon selection (my favorite is the laser)\n```\nmake the following changes:\nremove \"click for title music\", it plays regardless.\npickups are too frequent especially in early levels, reduce starting chance and chance increase for pickups by 50%.\nDifferent weapon pickups for the player which you can cycle through using Q and E keys (or SHIFT and CTRL keys). weapons include the standard guns we've already defined, plus a red laser which pulses and auto-targets the nearest enemy instantly, doing 10 damage per pulse. fire rate remains 0.3s starting and can be upgraded; the upgrades should affect the current selected weapon only. another weapon is dumbfire missiles which spread out across the bottom of the screen staying close to the player before firing upwards slowly after 0.5-1.2s, then do 5 damage each. all fire delays start at 0.3 and increase according to the same pattern. another weapon is not a weapon that fires bullets, but a hypnotizer that when active, it causes enemy bullets to home in on nearby enemies instead of going towards the player. this is a temporary weapon with 10 seconds of charge and once used it goes away. weapon pickups are dropped just like other pickups, but they are more rare.\ntilt ship left/right is backwards\nenemy ships \"dance\" too quickly and move too far. Have them move 80% more slowly and only 50% as far. If possible, have them move in time with the 4-4 time of the music, moving on every 2nd or 4th beat.\nwhen player dies they restart \"naked\" just like the game is starting over, no extra weapon upgrades or missile ammo etc.\nwhen player goes below 50% health they lose their latest weapon upgrade.\nwhen player goes below 20% health they lose their latest weapon upgrade.\nenemies are not homogenous per wave. enemies per wave should all be the same type\nboss health is too low. starting level boss health starts at 5x its current value\n```\n\n### Prompt 4, 5\nCheat codes added for testing\n```\nadd a feature that pressing \"n\" immediately kills all enemies and skips to the next wave without the virtual loading door\nadd a new key, \"k\", if user presses k it generates 10 random pickups in front of the player.\n```",
  "commits": []
}