New structure groups all ADT modules under adt/ directory, removing
redundant adt- prefix from filenames. Library names now read as
(pacman-project adt position) etc. All imports updated accordingly.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Renamed files: constanten→constants, adt-positie→adt-position,
adt-doolhof→adt-maze, adt-sleutel→adt-key, adt-tijdslimiet→adt-timer,
adt-teken→adt-draw, adt-spel→adt-game. All message names, variables,
comments, and tests converted to English.
Also fixed counter location bug (time-label x/y were swapped).
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Tests for Positie, Doolhof, Pac-Man, Score, and Tijdslimiet ADTs
using check/check-eq?/run-test from (pp1 tests) library.
Centralized test runner in alle-testen.rkt with prefix imports.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Connects level (logic) with teken (graphics) via callbacks.
Follows snake-wpo adt-spel pattern exactly.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
All rendering (maze, coins, key, pacman, UI, pause) consolidated here.
Grid-to-pixel conversion happens exclusively in this ADT.
Follows snake-wpo pattern with callback registration.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Combines game-logic, keyboard-handler, main-loop, and pause-menu into
single level ADT. Handles movement, collision, teleportation, coin/key
pickup, door opening, pause toggling, and time updates. No graphics.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Pure logic ADT with verlaag!/verhoog! mutators, tijd-op? predicate,
and formatteer-tijd method. No graphics code.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Pure logic ADT with punten getter and verhoog! mutator.
Uses punten-per-muntje constant. No graphics code.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Pure logic ADT with positie, opgepakt? predicate, pak-op! mutator.
Random placement logic uses doolhof ADT. No graphics code.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Pure logic ADT with grid-based positie, richting, beweeg! method.
All sprite/animation code removed - drawing responsibility in adt-teken.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Pure logic ADT with grid data, cell predicates (muur?, muntje?, etc.),
mutators (cel-set!, verwijder-deur!), and voor-elke-cel iterator.
All graphics code removed - drawing responsibility moved to adt-teken.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Constructor maak-positie returns dispatch closure with rij/kolom getters,
rij!/kolom! mutators, vergelijk? predicate, and beweeg method.
All coordinates are in grid units, not pixels.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
All hardcoded values (cell sizes, offsets, sprite scales, timing, score,
UI positions, cell type codes) are now named constants in an R7RS library.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>