Order of operations
AXP_isme
Posts: 809 Critical Contributor
i noticed something odd while I was playing a seed team in the lightning round starting at 0600 BST. The AI turn started, iron man fired his yellow, the board reshuffled then doom fired his purple. IM35’s yellow doesn’t affect the board configuration which must mean the board state was invalid (no available matches) at the end of the player turn. I know that the AI fires powers in a specific, colour defined, order. I also imagine there are actions that occur at the beginning of a turn, like resolving CDs, before any powers are fired. What surprised me was that the board shuffle happened between AI powers when none of them affected the configuration of tiles.
Am I missing something? Is my mind playing tricks on me early in the morning? Please can you kind forum-goers enlighten me and save me from my ignorance.
Ta
Am I missing something? Is my mind playing tricks on me early in the morning? Please can you kind forum-goers enlighten me and save me from my ignorance.
Ta
0
Comments
-
Board reshuffle is a state-based-action. It can and will happen in between different powers resolving. But the case you describe shouldn't cause an illegal board state.0
-
I've seen it wait after I used up the last match until firing all AI powers and then shuffling right before their actual move, but I've never seen it do that in between two AI powers that didn't change the board state.I guess it's just like Dayv says: "We have always been at war with order of operations."1
-
That’s what I was thinking. There’s no part of IM35’s yellow that causes changes to the board configuration. If it was invalid after he fired the power it was also invalid before so the order of operation doesn’t seem logical. I suppose there could be some new power set incoming that might alter the board on firing an enemy power but that seems a bit of a stretch.0
-
It's so you'll feel better when you wait for the board to be in a state where there are no yellow matches to make before you fire IM35 yellow only to have it reshuffle as you finish your turn after you make the last available match and all your CDs end up right next to each other (or at the very least next to other yellow tiles). This is the AIs way of saying it can happen to me so don't feel bad when it happens to you. It cares
0 -
The AI doesn't look at the board before deciding what powers it's going to fire on its turn. In fact it doesn't consider anything outside of what AP it has and what it can use that AP for. It doesn't look
at its own health, or your team's health. It will "queue up" powers that it's able to fire, and execute those in a specific colour order at the start of its turn. Essentially it's blind-firing everything, not caring what the powers are or what they do. I remember a while ago, if you lost a match to the AI it would continue firing its queue of powers in the window between KOing you and the "Defeat" banner appearing.
Order of operations weirdness, or some kind of race condition, might be causing the effect described here - the AI's powers queue and the game's board state check must occur at almost the same time. So occasionally the AI can fire its first power before anything else happens.0
Categories
- All Categories
- 44.8K Marvel Puzzle Quest
- 1.5K MPQ News and Announcements
- 20.3K MPQ General Discussion
- 3K MPQ Tips and Guides
- 2K MPQ Character Discussion
- 171 MPQ Supports Discussion
- 2.5K MPQ Events, Tournaments, and Missions
- 2.8K MPQ Alliances
- 6.3K MPQ Suggestions and Feedback
- 6.2K MPQ Bugs and Technical Issues
- 13.6K Magic: The Gathering - Puzzle Quest
- 504 MtGPQ News & Announcements
- 5.4K MtGPQ General Discussion
- 99 MtGPQ Tips & Guides
- 421 MtGPQ Deck Strategy & Planeswalker Discussion
- 298 MtGPQ Events
- 60 MtGPQ Coalitions
- 1.2K MtGPQ Suggestions & Feedback
- 5.6K MtGPQ Bugs & Technical Issues
- 548 Other 505 Go Inc. Games
- 21 Puzzle Quest: The Legend Returns
- 5 Adventure Gnome
- 6 Word Designer: Country Home
- 381 Other Games
- 142 General Discussion
- 239 Off Topic
- 7 505 Go Inc. Forum Rules
- 7 Forum Rules and Site Announcements