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.