# My puzzle game is missing the most important part

**URL:** <https://forum.makecode.com/t/my-puzzle-game-is-missing-the-most-important-part/45128>\
**Category:** Arcade\
**Created:** [July 30, 2026, 2:35am UTC](https://forum.makecode.com/t/my-puzzle-game-is-missing-the-most-important-part/45128 "2026-07-30T02:35:22Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![TheBestialCelestial](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/thebestialcelestial/32/34092_2.png) [@TheBestialCelestial](https://forum.makecode.com/u/TheBestialCelestial)\
**Post date:** [July 30, 2026, 2:35am UTC](https://forum.makecode.com/t/my-puzzle-game-is-missing-the-most-important-part/45128/1 "2026-07-30T02:35:22Z")

</div>

I started working on a puzzle game where you have to organize different objects (like bills and credit cards) in a suitcase. I just realized I’m not sure how to actually verify that the player solved the puzzle by moving the objects into columns. Does anyone have any input on how I could accomplish this?

> **[Money Organization Prototype](https://arcade.makecode.com/33389-71801-08168-91329)**
>
> Made with ❤️ in Microsoft MakeCode Arcade.

---

<div class="post-metadata">

**Author:** ![Vincent](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/vincent/32/31472_2.png) [@Vincent](https://forum.makecode.com/u/Vincent)\
**Post date:** [July 30, 2026, 5:06pm UTC](https://forum.makecode.com/t/my-puzzle-game-is-missing-the-most-important-part/45128/2 "2026-07-30T17:06:43Z")

</div>

I have no clue, but I solved it and I think you should have a move counter to know how well you did

---

<div class="post-metadata">

**Author:** ![TheBestialCelestial](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/thebestialcelestial/32/34092_2.png) [@TheBestialCelestial](https://forum.makecode.com/u/TheBestialCelestial)\
**Post date:** [July 30, 2026, 6:33pm UTC](https://forum.makecode.com/t/my-puzzle-game-is-missing-the-most-important-part/45128/3 "2026-07-30T18:33:18Z")

</div>

Thanks, the eventual plan is that you only have a limited number of moves.

---

<div class="post-metadata">

**Author:** ![Sword\_Studios](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/sword_studios/32/35216_2.png) [@Sword\_Studios](https://forum.makecode.com/u/Sword_Studios)\
**Post date:** [July 30, 2026, 8:06pm UTC](https://forum.makecode.com/t/my-puzzle-game-is-missing-the-most-important-part/45128/4 "2026-07-30T20:06:52Z")

</div>

![image](https://us1.discourse-cdn.com/flex020/uploads/makecode/original/3X/e/9/e9c6d943c1d90efe82f9089d8435190e2bde6dfa.png)Good Game!

---

<div class="post-metadata">

**Author:** ![Rune](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/rune/32/18951_2.png) [@Rune](https://forum.makecode.com/u/Rune)\
**Post date:** [July 30, 2026, 10:29pm UTC](https://forum.makecode.com/t/my-puzzle-game-is-missing-the-most-important-part/45128/5 "2026-07-30T22:29:23Z")

</div>

I see you are using a tilemap to move the pieces. You could set a specific tile depending on which one is on top of it, and then after each move check if the tilemap is in the solved position.

---

<div class="post-metadata">

**Author:** ![Sword\_Studios](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/sword_studios/32/35216_2.png) [@Sword\_Studios](https://forum.makecode.com/u/Sword_Studios)\
**Post date:** [July 30, 2026, 10:30pm UTC](https://forum.makecode.com/t/my-puzzle-game-is-missing-the-most-important-part/45128/6 "2026-07-30T22:30:09Z")

</div>

First, make the arrows at the bottom of the screen a sprite. Then, you could do an on game update check to see if the corresponding cards are aligned with the arrow, and it updates a variable if the card is changed. For instance, if 2 green cards correspond, then the value has a value of 2. If it had 4 cards corresponding and 2 got moved away, it would be 4 then 2. Then, make another if statement to check if all the values equal 4 (or 3 for the blue), and if it’s true, then you win. I’m not entirely sure this will work, it it sounds legit to me!

---

<div class="post-metadata">

**Author:** ![TheBestialCelestial](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/thebestialcelestial/32/34092_2.png) [@TheBestialCelestial](https://forum.makecode.com/u/TheBestialCelestial)\
**Post date:** [August 1, 2026, 11:25pm UTC](https://forum.makecode.com/t/my-puzzle-game-is-missing-the-most-important-part/45128/7 "2026-08-01T23:25:40Z")

</div>

I’m attempting to do that, but the code I’ve written doesn’t seem to work. (Image below)

 ![Screen Shot 2026-07-31 at 2.58.55 PM](https://us1.discourse-cdn.com/flex020/uploads/makecode/original/3X/7/f/7f9ac9e3f3eb72169e38bf906256852bec685b7c.png)

Not sure if maybe putting tilemaps in “EqualTo” blocks is a bit cursed. How did you picture verifying if the current tilemap (with a M tile for Money, C tile for credit card etc) matches the solved example?

> **[Money Organization Prototype](https://arcade.makecode.com/33217-37245-72527-26779)**
>
> Made with ❤️ in Microsoft MakeCode Arcade.

---

<div class="post-metadata">

**Author:** ![NeverStopTheCoder](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/neverstopthecoder/32/21194_2.png) [@NeverStopTheCoder](https://forum.makecode.com/u/NeverStopTheCoder)\
**Post date:** [August 1, 2026, 11:32pm UTC](https://forum.makecode.com/t/my-puzzle-game-is-missing-the-most-important-part/45128/8 "2026-08-01T23:32:49Z")

</div>

really cool 👌

---

<div class="post-metadata">

**Author:** ![NeverStopTheCoder](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/neverstopthecoder/32/21194_2.png) [@NeverStopTheCoder](https://forum.makecode.com/u/NeverStopTheCoder)\
**Post date:** [August 1, 2026, 11:32pm UTC](https://forum.makecode.com/t/my-puzzle-game-is-missing-the-most-important-part/45128/9 "2026-08-01T23:32:58Z")

</div>

uhhhh

 ![image](https://us1.discourse-cdn.com/flex020/uploads/makecode/original/3X/e/3/e3d822fc108780b4fdd36e91555afe559afb8c0c.png)

my suitcase is Really organized now but.. my hand seems to be broken

this happened when I click a thing that and press left,right,up or down and press A it cleared it and sometimes offset it

---

<div class="post-metadata">

**Author:** ![Rune](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/rune/32/18951_2.png) [@Rune](https://forum.makecode.com/u/Rune)\
**Post date:** [August 2, 2026, 6:13pm UTC](https://forum.makecode.com/t/my-puzzle-game-is-missing-the-most-important-part/45128/10 "2026-08-02T18:13:35Z")

</div>

This should work!

> **[Money Organization Prototype](https://arcade.makecode.com/46224-77708-75449-44445)**
>
> working win condition

There are comments inside the project. The real problem is that the equals operation does not know what to do with a tilemap.

I did code this really fast so it might not be the best way, but it seems like it works and thats what matters.

---

<div class="post-metadata">

**Author:** ![TheBestialCelestial](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/thebestialcelestial/32/34092_2.png) [@TheBestialCelestial](https://forum.makecode.com/u/TheBestialCelestial)\
**Post date:** [August 3, 2026, 4:56pm UTC](https://forum.makecode.com/t/my-puzzle-game-is-missing-the-most-important-part/45128/11 "2026-08-03T16:56:48Z")

</div>

It seems to be working great! Thank you so much!

A couple of people have enjoyed this game apparently, so I’ll be showing off a few other cool levels soon.
