fertig-classic-games/tools
Brian Fertig e7da172896 feat: add Total Annihilation game with campaign, AI, and full engine
Add a complete Total Annihilation clone including:

- TotalAnnihilationGame.js: Main scene with fixed-step loop, input handling,
  camera controls, selection, orders, and match lifecycle
- TAHud.js: Resource strip with flow rates, selection info, build/production
  grid, minimap with fog of war, and toast notifications
- TAScreens.js: Main menu, skirmish setup, campaign list, pause menu, and
  victory/defeat results
- totalannihilation-campaign.json: 6 hand-authored campaign missions with
  escalating difficulty (skill 1→5)
- tools/genTACampaign.js: Campaign generator that bakes terrain from the
  seeded map generator
- tools/verifyTotalAnnihilation.js: 13-section end-to-end test suite covering
  rules integrity, artwork, economy, pathfinding, combat, fog of war,
  map generation, serialization, AI skill ladder, and campaign winnability
- tools/lib/taStubScene.js: Minimal Phaser stub for headless testing

Engine improvements:
- TALogic.js: Swept projectile collision (no tunneling), quadratic AoE
  falloff, manual weapon support (D-Gun), unrecoverable elimination, onTick
  callback for AI stepping
- TAAI.js: Skill-based economy ladders, simultaneous factory+economy growth,
  sticky focus-fire, home defense gating by skill, tune/profile overrides
- TANav.js: fitField dilation for unit clearance, stale fit mask invalidation
- TAWorldView.js: _addWorld for layer ordering, frame-accurate zoom anchor
  math, container depth sorting every frame
- TARules.js: autoRangeOf excludes manual weapons, manual flag compilation

Art & data:
- Mayan civilization artwork added to civilization-artwork.json
- Several opponents switched to mayan citySheet
- totalannihilation-rules.json: balanced unit stats, new commanderlaser weapon,
  restructured AI skill tuning, formatted JSON
- sprites.md: complete art spec for drop-in PNG sheets
- Registered in gamesRegistry, assetManifest, PreloadScene, GameRoomScene,
  and soundtrack service
2026-07-24 20:57:40 -06:00
..
lib feat: add Total Annihilation game with campaign, AI, and full engine 2026-07-24 20:57:40 -06:00
buildCommonWords.js Major Port 2026-06-28 19:27:29 -06:00
fetchStarControlAssets.js refactor: improve Star Control ship rendering and ship picker UX 2026-07-15 11:45:08 -06:00
genDotLink.js Major Port 2026-06-28 19:27:29 -06:00
genJumble.js feat: add Jumble word puzzle game with 58 curated levels 2026-06-30 19:42:57 -06:00
genKatamino.js Major Port 2026-06-28 19:27:29 -06:00
genMiniCrossword.js Major Port 2026-06-28 19:27:29 -06:00
genPeggleLevels.js Peggle Adjustments 2026-07-12 09:14:06 -06:00
genPuddingMonsters.js Major Port 2026-06-28 19:27:29 -06:00
genRushHour.js Major Port 2026-06-28 19:27:29 -06:00
genSpireClimbCreatures.js Major Port 2026-06-28 19:27:29 -06:00
genSuperKartTracks.js feat: add Super Kart — SNES-style Mode 7 kart racing game 2026-07-17 14:25:18 -06:00
genTACampaign.js feat: add Total Annihilation game with campaign, AI, and full engine 2026-07-24 20:57:40 -06:00
genTetrisAttackPuzzles.js feat: add Tetris Attack (Panel de Pon) with endless, stage clear, and puzzle modes 2026-07-20 00:04:26 -06:00
genZuma.js Major Port 2026-06-28 19:27:29 -06:00
verifyAdvanceWars.js feat(advance-wars): add unit progression system with mission-based unlocks 2026-07-19 10:55:18 -06:00
verifyBalatro.js feat: add Balatro — poker roguelike game 2026-07-09 22:43:36 -06:00
verifyBejeweled.js Major Port 2026-06-28 19:27:29 -06:00
verifyBlockFighter.js Major Port 2026-06-28 19:27:29 -06:00
verifyBookwork.js Major Port 2026-06-28 19:27:29 -06:00
verifyCanasta.js Major Port 2026-06-28 19:27:29 -06:00
verifyCivilization.js feat(civilization): replace yield text with icon rows and unit chips on city screen 2026-07-23 21:09:08 -06:00
verifyColoradoDefense.js Further Tweaks to Colorado Defense 2026-07-14 13:19:07 -06:00
verifyCribbage.js Major Port 2026-06-28 19:27:29 -06:00
verifyDotLink.js Major Port 2026-06-28 19:27:29 -06:00
verifyDungeonBoss.js feat(dungeonboss): mid-walk spell casting in adventure windows 2026-07-06 21:55:04 -06:00
verifyGinRummy.js Major Port 2026-06-28 19:27:29 -06:00
verifyJewelQuest.js Major Port 2026-06-28 19:27:29 -06:00
verifyJumble.js feat: add Jumble word puzzle game with 58 curated levels 2026-06-30 19:42:57 -06:00
verifyMahjong.js Major Port 2026-06-28 19:27:29 -06:00
verifyMahjongMatch.js Major Port 2026-06-28 19:27:29 -06:00
verifyMiniMotorways.js feat(minimotorways): dynamic scaling and starvation-safe spawning 2026-07-23 21:55:20 -06:00
verifyPaiGowPoker.js Major Port 2026-06-28 19:27:29 -06:00
verifyPeggle.js feat(peggle): overhaul 7 powers with enhanced mechanics, visuals, and audio 2026-07-12 15:29:55 -06:00
verifyRisk.js Major Port 2026-06-28 19:27:29 -06:00
verifyRummikub.js Major Port 2026-06-28 19:27:29 -06:00
verifySWDBG.js feat(swdbg): overhaul card data from physical set transcription 2026-07-08 22:07:48 -06:00
verifySlots.js Major Port 2026-06-28 19:27:29 -06:00
verifySpireClimb.js Major Port 2026-06-28 19:27:29 -06:00
verifyStarControl.js feat: add Star Control space combat game 2026-07-14 22:45:56 -06:00
verifySuperKart.js feat(superkart): add missed-checkpoint correction for shortcut detection 2026-07-22 13:00:12 -06:00
verifyTempest.js retune tempest difficulty and fix death persistence 2026-07-21 22:52:07 -06:00
verifyTetrisAttack.js Re-theme stage clear to helping friends with multi-line intros 2026-07-22 20:52:05 -06:00
verifyTotalAnnihilation.js feat: add Total Annihilation game with campaign, AI, and full engine 2026-07-24 20:57:40 -06:00
verifyZuma.js Major Port 2026-06-28 19:27:29 -06:00