Stateless Code | Codecast: Create a RubyGem 59: Add Ability Score Functionality to Benchmark Suite @StatelessCode | Uploaded September 2021 | Updated October 2024, 4 hours ago.
This is the 59th video in the NerdDice create a RubyGem series. In this video Mike adds the roll_ability_scores and total_ability_scores methods to the NerdDice benchmark script.
This video covers:
00:00:12 Introduction
00:00:42 Modify script to add in new scenario
00:06:10 Troubleshoot "nil can't be coerced into Float" error. Hash key needed to match x.report argument exactly
00:14:32 Think through the reasonability of the slower results. Rolling 4d6 six times vs. rolling 3d6 once.
00:17:23 Set number of iterations lower for roll_ability_scores and total_ability_scores
00:18:32 Play around with the ratios, including use of the console.
00:24:12 Iterate on the GitHub action, adjusting ratios and force-pushing as needed
This video is CC0 - No rights reserved. (YouTube doesn't allow this option when publishing.) All code is released under the UNLICENSE. Stateless Code denies the concept of "intellectual property". Copying is not stealing.
This is the 59th video in the NerdDice create a RubyGem series. In this video Mike adds the roll_ability_scores and total_ability_scores methods to the NerdDice benchmark script.
This video covers:
00:00:12 Introduction
00:00:42 Modify script to add in new scenario
00:06:10 Troubleshoot "nil can't be coerced into Float" error. Hash key needed to match x.report argument exactly
00:14:32 Think through the reasonability of the slower results. Rolling 4d6 six times vs. rolling 3d6 once.
00:17:23 Set number of iterations lower for roll_ability_scores and total_ability_scores
00:18:32 Play around with the ratios, including use of the console.
00:24:12 Iterate on the GitHub action, adjusting ratios and force-pushing as needed
This video is CC0 - No rights reserved. (YouTube doesn't allow this option when publishing.) All code is released under the UNLICENSE. Stateless Code denies the concept of "intellectual property". Copying is not stealing.