src/pon2

Search:
Group by:
Source   Edit  

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:

OptionDescriptionDefault
-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.marathonBuilds marathon pages.<undefined>
-d:pon2.build.workerBuilds web workers.<undefined>

Consts

Pon2Ver = "1.0.0"
Source   Edit  

Exports

toUri, selectingCross=, Marathon, rotatePlacementRight, rotatePlacementLeft, $, KeyEventShiftD, cellCount, puyoCount, KeyEvent9, init, delStep, dropNuisanceWater, -=, ==, moveLeft, connection2Vertical, DeadRule, score, KeyEventShiftR, toKeyEvent, goalVal=, puyoCount, KeyEventP, del, connection3LShape, rotatedLeft, KeyEventE, init, KeyEvent, toggleInsert, [], puyoCount, init, solve, nuisancePuyoCount, kept, KeyEventJ, KeyEventH, swapped, init, extractedPop, generate, parseRule, flipVertical, del, asyncPermute, KeyEventShiftS, toMarathonCtrlVNode, PlayModes, mark, validDoublePlacements, coloredPuyoCount, puyoCount, pivotCol, init, KeyEventShiftI, parseGoal, parseNazoPuyo, shiftedUp, shiftRight, focusReplay, toStudioSettingsVNode, KeyEventShiftTab, getStudioSetting, isSatisfiedColor, KeyEvent2, connectionCounts, shiftLeft, coloredPuyoCounts, KeyEvent0, init, parseStep, KeyEventShiftH, NuisancePuyos, writeCell, Width, init, shiftFieldLeft, KeyEventQ, areSettledWater, canPop, KeyEventShiftQ, areSettledTsu, $, shiftedLeftRaw, KeyEventShiftV, nazoPuyo, Pair, toUriQuery, undo, cellCount, isNormalized, keptVisible, $, mode=, GoalMain, rotateRight, toOperatingVNode, AirHeight, KeyEvent7, SimulatorState, puyoCount, MarkResult, connection2Vertical, toNextVNode, forward, matchQueryCount, init, KeyEventShiftF, prevReplay, colorsSeq, del, nextReplay, init, writeCount, rotor, isValid, Cell, PuyoPuyo, KeyEventEnter, init, +, canPop, operating, $, Steps, toUriQuery, working, Solution, ActualPlacements, KeyEvent8, goalKindOpt=, goalClearColorOpt=, rule, init, KeyEventShiftL, KeyEventShiftU, permuting, cellCount, KeyEventSemicolon, KeyEventShiftZ, operate, isSupported, invalidPlacements, connection3, Dir, Step, []=, normalizeGoal, shiftUp, replace, parsePlacement, initFloor, toMarathonSearchVNode, flipFieldHorizontal, shiftedUpRaw, init, NoneGoalColor, $, shiftFieldDown, parseGoal, connection2Horizontal, init, solve, dropNuisanceTsuSafe, rotatedRight, nuisancePuyoCount, dropNuisance, operate, placeCounts, toUriQuery, rotate, ViewerModes, rotateLeft, KeyEventI, toShareVNode, SimulatorFqdn, nuisancePuyoCount, GenerateSettings, MarathonVNodeHelper, cellCount, init, WaterTopRow, KeyEventK, asyncSolve, shiftedLeft, redo, init, init, parseSteps, init, validPlacements, toUriQuery, KeyEventS, asyncSolve, KeyEventShiftC, movedRight, hash, KeyEventTab, toMarathonVNode, init, moveResult, toUriQuery, setRule, parsePair, toStepsVNode, Sse42Available, KeyEventShiftY, coloredPuyoCount, toSideCtrlVNode, cellCount, shiftedRightRaw, SimulatorMode, mode, init, Field, backward, nuisancePuyoCount, flip, KeyEvent3, KeyEventX, goalColor=, rule=, connection2, KeyEventZ, asyncPermute, invalidPlacements, StepKind, init, state, goalOperator=, xor, cellCounts, movePlacementLeft, Physics, KeyEventN, solving, editData, isDouble, swap, permute, KeyEventT, shiftFieldRight, WaterHeight, mark, coloredPuyoCount, connection3, connection2, validDoublePlacements, moveCursorDown, []=, Col, coloredPuyoCount, insert, insert, toArray, toArray, parseSimulatorFqdn, StudioSetting, init, parsePuyoPuyo, parsePlacement, +=, popcnt, puyoCount, KeyEventL, shiftUp, toggleFocus, ==, shiftedRight, rotorDir, init, toMsgVNode, Puyos, parseNazoPuyo, NoneGoalMain, EditorModes, parsePuyoPuyo, placeMasksTsu, flipFieldVertical, apply, KeyEventSpace, replayStepsCount, moveCursorUp, GoalColor, toStudioPaginationVNode, dropNuisanceWaterSafe, shiftRight, toBottomCtrlVNode, $, toExportUri, puyoCount, nuisancePuyoCounts, init, Behaviour, toField, KeyEventA, noticeCounts, allQueryCount, KeyEventR, toGoalVNode, pivot=, context, KeyEventF, initWaterTop, movePlacementRight, connection3LShape, crossRotate, toggleFocus, shiftedDown, KeyEventShiftP, connection2Horizontal, KeyEvent1, KeyEventShiftK, init, toFieldVNode, Rule, KeyEventShiftN, nuisancePuyoCount, isSettled, isSatisfiedAccumColor, connectionCounts, KeyEventShiftA, PopResult, operate, keptValid, NoColorKinds, placeCounts, placeWaterHelper, rotate, init, nuisancePuyoCount, toUriQuery, Notice, init, toStudioVNode, KeyEvent4, init, KeyEventU, [], isSatisfiedCount, isSatisfiedAccumCount, KeyEventShiftO, connection3Vertical, mm_set_epi16, KeyEventC, parseSimulator, coloredPuyoCount, Row, isPopped, KeyEventShiftT, moveRight, KeyEventB, Pon2Path, KeyEventY, KeyEventShiftB, nuisancePuyoCount, init, KeyEventShiftG, KeyEventO, init, init, KeyEventW, cellCount, parseStep, reverseBits, selectingCell=, mpairs, init, init2, flipHorizontal, init, parseField, Simulator, writeCount, isDead, KeyEventShiftE, isSatisfiedConnection, writeCell, puyoCounts, AirBottomRow, KeyEvent6, init, connection3Horizontal, shiftDown, settleWater, progress, KeyEventM, init, selectQuery, rotorCol, writeCross, init, shiftedDownRaw, keptAir, init, Placement, flipVertical, pivot, KeyEventShiftJ, *=, Behaviours, stopWork, shiftLeft, parseSteps, writeCell, KeyEventD, toBinaryField, NazoPuyo, $, KeyEventG, shiftFieldUp, reset, settleTsu, toPaletteVNode, init, KeyEventShiftX, move, EditModes, permute, GoalOperator, flipHorizontal, Pon2Result, colors, toSettingsVNode, moveCursorRight, BinaryField, toUriQuery, Studio, init, validPlacements, ColoredPuyos, toUriQuery, load, parseCell, cellCount, -, SimulatorEditData, ColorKinds, normalized, place, *, insert, parseField, isDead, connectionCounts, Goal, movedLeft, crossRotate, moveCursorLeft, KeyEventShiftM, initAirBottom, isSatisfiedChain, KeyEventShiftEnter, toStudioCtrlVNode, rotor=, connection3Vertical, noticeCounts, MoveResult, settle, toDeque, match, coloredPuyoCount, DoublePlacements, StudioVNodeHelper, writeCountClamp, VNodeHelper, KeyEventV, parsePair, KeyEventShiftW, hardToGarbageCount, selectRandomQuery, initValid, writeCross, init, move, Height, KeyEvent5, connection3Horizontal, dropNuisanceTsu, shiftDown, SimulatorVNodeHelper, toSimulatorVNode, pop, replayStepsIndex, NoneGoal, coloredPuyoCount, normalize, GoalKind, isSatisfiedPlace