Magic Dice is a 3D top-down roguelike game that I developed using the Unreal Engine. The player plays as the king who goes to the dungeon to rescue the princess captured by the monsters. On the way, monsters of different strengths will force the player to consider a reasonable route arrangement to obtain various gains with minimal losses, defeat the monsters and rescue the princess. The dungeon in the game will be generated completely at random. Each time the player kills a certain number of monsters in the dungeon, they can obtain a random numerical boost of a selected type at the NPC Magic Dice.