14 lines
193 B
C#
14 lines
193 B
C#
using System.Security.Cryptography;
|
|
|
|
namespace Dungeoneer {
|
|
|
|
public static class Util {
|
|
|
|
public static int Roll(int sides) {
|
|
return RandomNumberGenerator.GetInt32(sides) + 1;
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|