PHP Architect · Vol 19, Issue 7 · July 2020
PHP Puzzles: Random Loot
by Sherri Wheeler
In our last issue, we looked at multiple solutions for the Fibonacci math problem. We saw a common recursion gotcha when one of our solutions caused PHP to timeout on modest inputs. We then took a more fun direction and presented a problem from game development: randomizing the quality of loot generation. Let's look at loot quality and then pose another game related puzzle.
The full article is in PHP Architect Vol 19, Issue 7. Subscribe to read it and every new issue.