Back to Vol 19, Issue 8

PHP Architect · Vol 19, Issue 8 · August 2020

PHP Puzzles: Writing a Dice Roller

by Sherri Wheeler

In our last issue, we looked at a problem from game development—generating random loot with different rarities. We saw multiple solutions, including a common technique used in many games. Our new puzzle asked us to calculate dice rolls for tabletop games.

The full article is in PHP Architect Vol 19, Issue 8. 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 →