increpare / increpare/PuzzleScript

A speculative AGAIN turn can commit a checkpoint that should never execute.

Open
#1,175 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
1.1k
Forks
185
PR merge metrics
No merged PRs in 30d

Description

Flagged by AI. check this out later
engine.js (line 2941) performs checkpoint side effects even during the dry-run used to decide whether AGAIN is viable. The rejected turn can still replace restartTarget and write storage.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start at src/js/engine.js line 2941 and trace the dry-run used to decide whether an AGAIN turn is viable. Check how the speculative checkpoint affects restartTarget and storage, then verify that a rejected turn produces no checkpoint side effects.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
game-dev
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
68/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.