Commit Graph
10 Commits
Author SHA1 Message Date
seppedl 92882df355 [update] Make SSID unique with last 4 MAC digits. 2026-08-29 10:57:28 +02:00
seppedlandClaude Opus 4.6 b27032762e [fix] Add heuristic evaluation, fork detection, and Phase 1 win/block split to AI.
Minimax leaf nodes now return a positional score instead of 0, using
playable-threat detection (±100), non-playable threats (±40), fork
bonus (±200), two-in-a-row (±5), and center control (±3). Phase 1
is split into two passes so the AI never blocks when it can win.
Game sequence is now auto-logged to the browser console on game end.
Applied to all three implementations (C++, JS, Python).

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-27 16:59:55 +01:00
seppedl 025f0457c7 [fix] Non heuristic moves... 2026-03-27 12:17:25 +01:00
seppedlandClaude Opus 4.6 0fc20da274 [refactor] Replace hardcoded values with build flags and cleanup duplicates.
- Add #ifndef guards for pin defines duplicated between platformio.ini and main.cpp
- Use DEFAULT_LOOK_AHEAD, DEFAULT_BRIGHTNESS, DEFAULT_IDLE_TIMEOUT, DEMO_RESET_PAUSE
  build flags instead of hardcoded magic numbers
- Add WIFI_SSID build flag for configurable access point name
- Remove unused build flags (BRIGHTNESS, IDLE_TIMEOUT, DEBOUNCE_DELAY)
- Remove progressive difficulty / evolution feature (getDynamicPly)
- Replace goto with structured control flow in performAiMove
- Deduplicate checkGameEnd win/draw branches
- Implement blunder mode: configurable chance (%) to pick a random column,
  preserving instant win/block detection

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-21 16:03:41 +01:00
seppedl f489442cb5 [refactor] Game log, persistence, demo mode, indicator LED, and documentation. 2026-03-15 15:47:43 +01:00
seppedl b5d696bf30 [fix] Demo interrupt, encoder sensitivity, and win delay. 2026-03-15 15:47:43 +01:00
seppedl 3e29a2e4da [fix] AI killer instinct, border toggle, and animation timing. 2026-03-15 15:47:43 +01:00
seppedl da63f05ac3 [update] Progressive difficulty, demo fixes, and background docs. 2026-03-15 15:47:43 +01:00
seppedl 8a776dfae5 [add] Autoplay demo, web config, and WiFi AP. 2026-03-15 15:47:42 +01:00
seppedl cea3cdad37 Initial commit. 2026-03-06 09:49:23 +01:00