# Do you have any ideas for a roguelike dungeon generation?

**URL:** <https://forum.makecode.com/t/do-you-have-any-ideas-for-a-roguelike-dungeon-generation/26690>\
**Category:** Game Design\
**Tags:** game\
**Created:** [February 5, 2024, 5:51pm UTC](https://forum.makecode.com/t/do-you-have-any-ideas-for-a-roguelike-dungeon-generation/26690 "2024-02-05T17:51:16Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mr\_Montogoronto](https://avatars.discourse-cdn.com/v4/letter/m/2acd7d/32.png) [@Mr\_Montogoronto](https://forum.makecode.com/u/Mr_Montogoronto)\
**Post date:** [February 5, 2024, 5:51pm UTC](https://forum.makecode.com/t/do-you-have-any-ideas-for-a-roguelike-dungeon-generation/26690/1 "2024-02-05T17:51:16Z")

</div>

I always wanted to make a roguelike game, and i tried it today. But it appears almost impossible to combine tilemaps or generate random rooms. Does anyone have an idea how to do it?

---

<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:** [February 5, 2024, 7:19pm UTC](https://forum.makecode.com/t/do-you-have-any-ideas-for-a-roguelike-dungeon-generation/26690/2 "2024-02-05T19:19:34Z")

</div>

You should check out [Whisker’s Adventure! Remastered](https://forum.makecode.com/t/whiskers-adventure-remastered/13193)  
But you could store a linear dungeon as an array and track the player position with that.  
If you want a more complex dungeon maybe try making a function to place walls and tiles at a location so when you explore further you can run that function. Also you would have to start with a really big but mostly empty tilemap.

---

<div class="post-metadata">

**Author:** ![Mr\_Montogoronto](https://avatars.discourse-cdn.com/v4/letter/m/2acd7d/32.png) [@Mr\_Montogoronto](https://forum.makecode.com/u/Mr_Montogoronto)\
**Post date:** [February 6, 2024, 12:19am UTC](https://forum.makecode.com/t/do-you-have-any-ideas-for-a-roguelike-dungeon-generation/26690/3 "2024-02-06T00:19:42Z")

</div>

Thank you! I didn’t expect to get an answer so soon!
