Categories > Board > Bejeweled


Categories > Board > BejeweledRelated pluginsFlow chartState matchine of mainState matchine of MATCH3State machineMain state machineSub state machine match3Symbol of tileHow to

Related plugins

Flow chart

State matchine of main

NoYesYesNoMoving finishedYesNoOFFSTART----1. Fill tilesRESET----1. Remove all chess2. Fill chess3. Break match3 linesHAS_POSSIBLE_MATCH3Has possible match3after swappedSELECT_1----1. Set chess1_uidSELECT_2----1. Set chess2_uidchess1 and chess2are neighborsSWAP----Swap chess1 and chess2MATCH3----1. Get matched lines2. Eliminate matched chess3. Fall down chess4. Fill empty cell5. Return matched_cntmatched_cnt > 0UNDO_SWAP----Swap chess1 and chess2

Event sheets

State matchine of MATCH3

NoYesElimination doneMoving finishedSTART----Set total_matchedline = 0MATCH3----1. Get matched lines2. Increase total_matchedlineHas matched lineEndElimination----1. Destroy matched chessFALL----1. Fall down remaining chessFILL----1. Create chess at empty cells

Event sheets

State machine

Main state machine

Sub state machine match3

Symbol of tile


How to