Day: May 23, 2020

  • Creating Better Items – Roguelike Design part 4

    Creating Better Items – Roguelike Design part 4

    Previously, on Whoo Boy I Have No Idea What I’m Doing, we built a function to generate some random weapons. We use a combination of PHP rand() and mySQL ORDER BY RAND() to get random attributes from our tables, and add it all up into something that can be used in our some-day game. It…