Back to Vol 19, Issue 7

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.

Subscribe
Sherri Wheeler

About the author

Sherri Wheeler

Sherri is a web software developer and business professional with over 20 years of experience working with PHP. She currently operates her company Avinus Web Services, and for fun she creates games and open source software. When not at the computer you’ll find her playing games, swimming, woodworking, and making forts with her husband and three sons in Ontario, Canada. Connect with her on Mastodon.  @syntaxseed@phpc.social

Our Partners

Collaborating with industry leaders to bring you the best PHP resources and expertise

Interested in partnering? Get in touch →