Code : https://github.com/17Peeyush/System-Design/tree/main
Here we are solving the problem of a wizard Orin who is able to do 3 elemental magic, but don't have a magical wand that can perform 3 types of magic. So we are helping Orin by designing a magical wand that can do multiple elemental magic with the help of state design pattern. We are also looking what is the drawback of naïve approach and how state design pattern solves it. Designing and implementing it in java.
#systemdesign #state #lld #fantasy #engineering #hindiexplained
Download
0 formats
No download links available.
State Design Pattern | Creation of Magical Wand | Explained and implemented JAVA | NatokHD