dungeoneer-cs/src/Util.cs

16 lines
194 B
C#
Raw Normal View History

2024-03-28 21:42:10 -04:00
using System.Security.Cryptography;
namespace Dungeoneer {
public static class Util {
public static int Roll(int sides) {
return RandomNumberGenerator.GetInt32(sides) + 1;
2024-03-28 21:42:10 -04:00
}
}
}