This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#if NET472 | |
using System.Runtime.CompilerServices; | |
using static Util.UtilShared; | |
namespace System; | |
/// <summary> | |
/// System.Math float Wrapper, wrapping every and only funtions that doesnt accept float |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
static void Roll(string s = "", int depth = 1, int sides = 6) | |
{ | |
if (depth == 0) | |
Console.WriteLine(s.Substring(1)); | |
else | |
for (int i = 1; i <= sides; i++) | |
Roll(s + "," + i, depth - 1); | |
} | |
static int[][] DiceCombinatoryEntry(int times, int diceSides = 6) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
; from: https://github.com/Kalamity/classMemory ported to v2 by me (only tested read and write) | |
#Requires AutoHotkey v2.0 | |
#SingleInstance Force | |
global A_IsUnicode := 1 | |
; ^Esc::ExitApp | |
; F3::{ |