62R%⁴g180<11T+“¢¬⁷’ẊỌ
キャラクターのリストを返すニラディックリンク、またはシャッフルされたデッキを印刷する完全なプログラム。
オンラインでお試しください!
どうやって?
62R%⁴g180<11T+“¢¬⁷’ẊỌ - Main link: no arguments
62 - literal 62
R - range(62) -> [1,2,3,4,5,6,7,8,9,10,11,12,13,14,15, 16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31, 32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47, 48,49,50,51,52,53,54,55,56,57,58,59,60,61,62]
⁴ - literal 16
% - modulo -> [1,2,3,4,5,6,7,8,9,10,11,12,13,14,15, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9,10,11,12,13,14,15, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9,10,11,12,13,14,15, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9,10,11,12,13,14]
180 - literal 180
g - G.C.D. -> [1,2,3,4,5,6,1,4,9,10, 1,12, 1, 2,15,180, 1, 2, 3, 4, 5, 6, 1, 4, 9,10, 1,12, 1, 2,15,180, 1, 2, 3, 4, 5, 6, 1, 4, 9,10, 1,12, 1, 2,15,180, 1, 2, 3, 4, 5, 6, 1, 4, 9,10, 1,12, 1, 2]
11 - literal 11
< - less than?-> [1,1,1,1,1,1,1,1,1, 1, 1, 0, 1, 1, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1]
T - truthy -> [1,2,3,4,5,6,7,8,9,10,11, 13,14, 17,18,19,20,21,22,23,24,25,26,27, 29,30, 33,34,35,36,37,38,39,40,41,42,43, 45,46, 49,50,51,52,53,54,55,56,57,58,59, 61,62]
“¢¬⁷’ - base 250 number 127136
+ - addition (vectorises) -> card character ordinals
Ẋ - shuffle the list
Ọ - convert to characters
- full program has an implicit print