Rename branding and namespaces to AstraDev; remove command aliases

This commit is contained in:
2026-09-05 16:32:32 +03:00
parent 945188193a
commit 2eb4ca02d0
13 changed files with 14 additions and 14 deletions
@@ -0,0 +1,15 @@
package online.astradev.soups;
final class SoupText {
private SoupText() {}
static String roman(int level) {
if (level < 1 || level > 256) throw new IllegalArgumentException("Potion level out of range: " + level);
int[] values = {100, 90, 50, 40, 10, 9, 5, 4, 1};
String[] numerals = {"C", "XC", "L", "XL", "X", "IX", "V", "IV", "I"};
StringBuilder text = new StringBuilder();
for (int i = 0; i < values.length; i++) while (level >= values[i]) {
text.append(numerals[i]); level -= values[i];
}
return text.toString();
}
}