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

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