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