This module provides APIs dedicated to Puyo Puyo and Nazo Puyo.
To access the APIs, import either pon2 as an "all-in-one", or the following submodules individually:
Note that these submodules are listed in descending order of "layers". Importing a higher-level module automatically imports all modules below it.
Compile Options:
| Option | Description | Default |
|---|---|---|
| -d:pon2.waterheight=<int> | Height of the water. | 8 |
| -d:pon2.fqdn=<str> | FQDN of the web simulator. | 24ik.github.io |
| -d:pon2.garbagerate.tsu=<int> | Garbage rate in Tsu rule. | 70 |
| -d:pon2.garbagerate.spinner=<int> | Garbage rate in Spinner rule. | 120 |
| -d:pon2.garbagerate.crossspinner=<int> | Garbage rate in Cross Spinner rule. | 120 |
| -d:pon2.garbagerate.water=<int> | Garbage rate in Water rule. | 90 |
| -d:pon2.simd=<int> | SIMD level. (1:SSE4.2, 0:None) | 1 |
| -d:pon2.bmi=<int> | BMI level. (2:BMI2, 1:BMI1, 0:None) | 2 |
| -d:pon2.clmul=<int> | CLMUL level. (1:Use, 0:None) | 1 |
| -d:pon2.path=<str> | Path of the web studio. | /pon2/stable/studio/ |
| -d:pon2.assets=<str> | Assets directory. | ../assets |
| -d:pon2.webworker=<str> | Web workers file. | ./worker.min.js |
| -d:pon2.build.marathon | Builds marathon pages. | <undefined> |
| -d:pon2.build.grimoire | Builds grimoire pages. | <undefined> |
| -d:pon2.build.worker | Builds web workers. | <undefined> |
Exports
-
toArray, toArray, toUri, puyoCount, []=, parseSimulatorFqdn, rotatePlacementRight, StudioSetting, init, parsePuyoPuyo, rotatePlacementLeft, flipFieldVertical, GrimoireMatcher, +=, $, KeyEventShiftD, []=, selectingCross=, delStep, KeyEventL, shiftUp, validPlacements, dropNuisanceWater, coloredPuyoCount, ==, moveLeft, KeyEventShiftI, puyoCount, toggleFocus, shiftedRight, rotorDir, connection2Vertical, DeadRule, init, Puyos, score, KeyEventShiftR, normalize, EditorModes, parsePuyoPuyo, placeMasksTsu, goalVal=, puyoCount, parsePlacement, apply, Studio, writeCross, del, connection3LShape, rotatedLeft, popcnt, mode=, GoalColor, replayStepsCount, KeyEventE, moveCursorUp, entryIds, init, KeyEvent, dropNuisanceWaterSafe, initFloor, toggleInsert, pivot, puyoCount, toggleFocus, init, isSatisfiedChain, init, KeyEventO, nuisancePuyoCounts, nuisancePuyoCount, kept, KeyEventJ, KeyEventH, swapped, flip, moveResult, parseRule, flipVertical, Behaviour, toField, KeyEventA, init, init, allQueryCount, puyoCount, PlayModes, pivot=, mark, validDoublePlacements, coloredPuyoCount, KeyEventF, init, $, KeyEvent9, initWaterTop, coloredPuyoCount, KeyEventM, ==, movePlacementRight, parseGoal, parseNazoPuyo, connection3LShape, shiftedUp, crossRotate, writeCount, rotor, connection2Horizontal, KeyEvent5, extractedPop, shiftedDown, len, KeyEventShiftP, isReady=, KeyEventShiftTab, KeyEvent1, shiftDown, KeyEventShiftB, init, solve, isSatisfiedColor, Rule, KeyEvent2, init, isSettled, isDouble, pivotCol, shiftLeft, mpairs, coloredPuyoCounts, isSatisfiedAccumColor, connectionCounts, KeyEventShiftK, KeyEvent0, add, init, parseStep, KeyEventShiftA, KeyEventShiftH, getEntry, NuisancePuyos, PopResult, operate, Width, init, shiftFieldLeft, KeyEventQ, areSettledWater, move, KeyEventD, canPop, placeCounts, KeyEventX, placeWaterHelper, KeyEventShiftQ, areSettledTsu, shiftedLeftRaw, -=, NazoPuyo, init, rule=, toUriQuery, init, nuisancePuyoCount, toUriQuery, undo, cellCount, isNormalized, toExportUri, Notice, init, keptVisible, init, $, GoalMain, rotateRight, KeyEventShiftN, AirHeight, KeyEvent7, init, KeyEventU, [], del, puyoCount, MarkResult, isSatisfiedCount, isSatisfiedAccumCount, KeyEventShiftO, connection2Vertical, KeyEvent4, connection3Vertical, init, matchQueryCount, parseSimulator, MoveResult, Behaviours, SimulatorKeyBindPattern, selectingCell=, selectRandomQuery, generate, writeCross, solving, colorsSeq, del, nextReplay, AirBottomRow, toUriQuery, init, Row, isPopped, shiftRight, focusReplay, puyoCount, isValid, StepKind, connectionCounts, KeyEventEnter, KeyEventB, Pon2Path, init, +, GrimoireEntry, KeyEventY, operating, $, Steps, toUriQuery, nuisancePuyoCount, working, KeyEventShiftG, Solution, init, matchedEntryIds, moveCounts, ActualPlacements, init, KeyEventW, forward, cellCount, parseStep, KeyEventSpace, nazoPuyo, KeyEvent8, xor, goalClearColorOpt=, cellCount, init, Placement, init, noticeCounts, updatedQuery, KeyEventShiftL, KeyEventShiftU, permuting, cellCount, shiftedDownRaw, permute, init, parseField, reverseBits, Simulator, flipHorizontal, shiftRight, parsePair, settleWater, KeyEventShiftT, isDead, KeyEventShiftE, KeyEventShiftZ, isSatisfiedConnection, operate, moveCursorDown, invalidPlacements, puyoCounts, toUriQuery, KeyEvent6, keptValid, place, goalKindOpt=, init, connection3Horizontal, connection3, Dir, progress, Step, cellCount, normalizeGoal, init, shiftUp, selectQuery, rotorCol, replace, init, [], solve, flipFieldHorizontal, keptAir, KeyEventP, shiftedUpRaw, flipVertical, SimulatorState, init, canPop, KeyEventShiftS, NoneGoalColor, $, shiftFieldDown, *=, parseGoal, connection2Horizontal, dropNuisanceTsuSafe, rotatedRight, dropNuisance, shiftLeft, init, writeCell, placeCounts, toBinaryField, Pon2Result, init, match, rotate, $, KeyEventG, ViewerModes, shiftFieldUp, Grimoire, KeyEventShiftV, reset, settleTsu, KeyEventShiftF, rotateLeft, KeyEventI, isReady, SimulatorFqdn, KeyEventShiftX, move, nuisancePuyoCount, EditModes, GenerateSettings, init, rule, KeyEventK, GoalOperator, flipHorizontal, shiftedLeft, redo, parsePlacement, init, moveCursorRight, parseSteps, KeyEventSemicolon, BinaryField, toUriQuery, parseSteps, init, ColoredPuyos, init, validPlacements, toUriQuery, parseField, KeyEventS, toUriQuery, normalized, load, prevReplay, parseCell, cellCount, KeyEventShiftC, movedRight, -, KeyEventTab, ColorKinds, nuisancePuyoCount, init, setRule, parsePair, noticeCounts, Sse42Available, writeCount, KeyEventShiftY, PuyoPuyo, coloredPuyoCount, *, insert, cellCount, shiftedRightRaw, SimulatorMode, parseNazoPuyo, isDead, connectionCounts, mode, rotate, init, Field, backward, $, nuisancePuyoCount, WaterTopRow, movedLeft, DoublePlacements, operate, mm_set_epi16, crossRotate, moveCursorLeft, connection3, isSupported, KeyEventShiftM, initAirBottom, KeyEvent3, NoneGoalMain, SimulatorKeyBinds, init, SimulatorEditData, KeyEventShiftEnter, goalColor=, rotor=, connection3Horizontal, connection2, KeyEventZ, GoalKind, sources, connection3Vertical, KeyEventC, settle, invalidPlacements, toDeque, match, coloredPuyoCount, moveRight, init, writeCell, state, goalOperator=, hash, writeCountClamp, colors, NoColorKinds, cellCounts, KeyEventV, movePlacementLeft, KeyEventShiftW, hardToGarbageCount, Physics, KeyEventR, KeyEventN, Marathon, initValid, editData, Cell, nuisancePuyoCount, KeyEventShiftJ, init, swap, permute, KeyEventT, Height, shiftFieldRight, WaterHeight, mark, dropNuisanceTsu, shiftDown, Goal, pop, replayStepsIndex, NoneGoal, Pair, connection2, validDoublePlacements, coloredPuyoCount, SimulatorKeyBindsArray, isSatisfiedPlace, context, Col, coloredPuyoCount, insert, writeCell, insert