# 15-puzzle

**URL:** https://forum.makecode.com/t/15-puzzle/2284
**Category:** Show & Tell
**Tags:** game
**Created:** [June 1, 2020, 12:34pm UTC](https://forum.makecode.com/t/15-puzzle/2284 "2020-06-01T12:34:57Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![ractive](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/ractive/32/928_2.png) [@ractive](https://forum.makecode.com/u/ractive)
#### Post date: [June 1, 2020, 12:34pm UTC](https://forum.makecode.com/t/15-puzzle/2284/1 "2020-06-01T12:34:57Z")

</div>

> **[15-puzzle](https://ractive.github.io/15-puzzle/)**
>
> The classic 15-puzzle

The 15-puzzle game is still a classic and I guess most of us have played this before.

The goal is to bring the tiles in order again from 1 - 15 by moving them with the gamepad.

---

<div class="post-metadata">

### Author: ![Icicles](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/icicles/32/734_2.png) [@Icicles](https://forum.makecode.com/u/Icicles)
#### Post date: [June 5, 2020, 9:30pm UTC](https://forum.makecode.com/t/15-puzzle/2284/2 "2020-06-05T21:30:27Z")

</div>

@ractive  
Your game is amazing! Though I don’t work with javascript. Their is an error when I pull up the game in Microsoft Makecode Arcade, which isn’t allowing me to put your game on the brainpad arcade. Just wondering if you could fix it. Thanks!  
-Icicles

---

<div class="post-metadata">

### Author: ![ractive](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/ractive/32/928_2.png) [@ractive](https://forum.makecode.com/u/ractive)
#### Post date: [June 6, 2020, 11:07am UTC](https://forum.makecode.com/t/15-puzzle/2284/3 "2020-06-06T11:07:50Z")

</div>

Hi there  
Great that you like the game.  
It seems that the “randint” method is not available in the “normal” arcade version yet. I always use the beta version. So please go to [https://arcade.makecode.com/beta](https://arcade.makecode.com/beta) and try to open the project there and let me know if this works for you.

---

<div class="post-metadata">

### Author: ![Icicles](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/icicles/32/734_2.png) [@Icicles](https://forum.makecode.com/u/Icicles)
#### Post date: [June 8, 2020, 2:42am UTC](https://forum.makecode.com/t/15-puzzle/2284/4 "2020-06-08T02:42:52Z")

</div>

@ractive  
Works great now Thanks!
