# Hanoi Tower with Darts

**URL:** <https://forum.makecode.com/t/hanoi-tower-with-darts/7362>\
**Category:** Arcade\
**Tags:** game\
**Created:** [April 13, 2021, 9:40pm UTC](https://forum.makecode.com/t/hanoi-tower-with-darts/7362 "2021-04-13T21:40:56Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![alex812](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/alex812/32/6716_2.png) [@alex812](https://forum.makecode.com/u/alex812)\
**Post date:** [April 13, 2021, 9:40pm UTC](https://forum.makecode.com/t/hanoi-tower-with-darts/7362/1 "2021-04-13T21:40:56Z")

</div>

Hanoi Tower game with 4 discs decorated with Darts extansion.

[https://makecode.com/\_LF0baA7raep1](https://makecode.com/_LF0baA7raep1)

---

<div class="post-metadata">

**Author:** ![alex812](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/alex812/32/6716_2.png) [@alex812](https://forum.makecode.com/u/alex812)\
**Post date:** [April 14, 2021, 4:23pm UTC](https://forum.makecode.com/t/hanoi-tower-with-darts/7362/2 "2021-04-14T16:23:50Z")

</div>

Bugs fixed.

[https://makecode.com/\_hYfDVmFLggYh](https://makecode.com/_hYfDVmFLggYh)

---

<div class="post-metadata">

**Author:** ![Agent\_14](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/agent_14/32/17567_2.png) [@Agent\_14](https://forum.makecode.com/u/Agent_14)\
**Post date:** [April 14, 2021, 8:05pm UTC](https://forum.makecode.com/t/hanoi-tower-with-darts/7362/3 "2021-04-14T20:05:30Z")

</div>

Found a bug. Press b while a block is midair.

---

<div class="post-metadata">

**Author:** ![alex812](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/alex812/32/6716_2.png) [@alex812](https://forum.makecode.com/u/alex812)\
**Post date:** [April 14, 2021, 9:51pm UTC](https://forum.makecode.com/t/hanoi-tower-with-darts/7362/4 "2021-04-14T21:51:16Z")

</div>

Yes, fixed.  
[https://makecode.com/\_gjsRub5Pudjx](https://makecode.com/_gjsRub5Pudjx)

---

<div class="post-metadata">

**Author:** ![alex812](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/alex812/32/6716_2.png) [@alex812](https://forum.makecode.com/u/alex812)\
**Post date:** [April 15, 2021, 3:55pm UTC](https://forum.makecode.com/t/hanoi-tower-with-darts/7362/5 "2021-04-15T15:55:41Z")

</div>

About the game and control.  
As in the normal Tower of Hanoi, the goal is to move the disks from the first column to the third using all 3 columns. Placing discs on top of each other is possible only following the rule - a smaller disc on a larger one.  
At the beginning of the game, you can select the number of disks in the game by pressing B button.  
The disks are moved by navigating with arrow buttons and throwing by pressing the A button.  
The B button allows you to change the disk that will be next to move.  
When throwing a disc, you can miss, touch the edges of the screen, try to put a larger disc on a smaller one. In these cases, the disc throw is canceled. The exception is the upper border of the screen, so that when the disc is thrown, it can go higher and reappear on the descent.

---

<div class="post-metadata">

**Author:** ![alex812](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/alex812/32/6716_2.png) [@alex812](https://forum.makecode.com/u/alex812)\
**Post date:** [April 15, 2021, 3:58pm UTC](https://forum.makecode.com/t/hanoi-tower-with-darts/7362/6 "2021-04-15T15:58:16Z")

</div>

Sometimes in the game it’s not possible to navigate the disc to the desired location with the current setting. For such cases, added the ability to randomly change the power of next throws. To do this, while the disc is moving, press the B button.  
[https://makecode.com/\_dqmecd47Kia1](https://makecode.com/_dqmecd47Kia1)

---

<div class="post-metadata">

**Author:** ![alex812](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/alex812/32/6716_2.png) [@alex812](https://forum.makecode.com/u/alex812)\
**Post date:** [April 16, 2021, 5:21pm UTC](https://forum.makecode.com/t/hanoi-tower-with-darts/7362/7 "2021-04-16T17:21:05Z")

</div>

Bugs fixed.

[https://makecode.com/\_asJeXuCCHXgR](https://makecode.com/_asJeXuCCHXgR)
