# 🦾 Weekly Topic: Most Challenging Coding Task or Concept

**URL:** <https://forum.makecode.com/t/weekly-topic-most-challenging-coding-task-or-concept/31290>\
**Category:** Arcade\
**Created:** [October 21, 2024, 5:28pm UTC](https://forum.makecode.com/t/weekly-topic-most-challenging-coding-task-or-concept/31290 "2024-10-21T17:28:43Z")\
**Posts on this page:** 1\
**Showing post:** 24

<div class="post-metadata">

**Author:** ![Luke](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/luke/32/32519_2.png) [@Luke](https://forum.makecode.com/u/Luke)\
**Post date:** [October 22, 2024, 2:41am UTC](https://forum.makecode.com/t/weekly-topic-most-challenging-coding-task-or-concept/31290/24 "2024-10-22T02:41:05Z")

</div>

the most annoying thing i’ve tried to code is defo procedural generation, especially my [Random Map Event Generation 🗺](https://forum.makecode.com/t/random-map-event-generation-like-slay-the-spire/29739) just because how complicated it was to

1. randomly generate something with enough variation to be unique yet consistency so it’s actually playable
2. store that data with nested arrays (store map data)
3. track player position on the map as an array
4. draw the map and player location data to a sprite that works the same way each time it’s opened

and in blocks 🫠

* * *

When it comes to extensions like block objects, sprite data and mini menu, what I found useful was to look at the code of existing projects and figure out my own code using that as a template  
That can be very difficult for starting right out so tutorials like this: [[Tutorial] What are block objects, and how to use them](https://forum.makecode.com/t/tutorial-what-are-block-objects-and-how-to-use-them/24274) are super helpful. ty @Sarge : D

* * *

Finally, scope creep, the death knoll of all my projects lol  
How it usually goes is like such:

- make some cool code
- get inspired and massively overplan game to become unreasonably large, complex and difficult to code
- burn out halfway and never finish the game

---

_[View the full topic](https://forum.makecode.com/t/weekly-topic-most-challenging-coding-task-or-concept/31290)._
