6
votes
Convert numbers to dice patterns
Python 3 (194 199 210 bytes) -16 (- 5 thanks to Kevin)
My First golf!
Returns a int, array, where len(arr) == side ** 2
...
5
votes
3
votes
2
votes
Convert numbers to dice patterns
Charcoal, 50 bytes
NθF﹪θ²POW⁻θLKA«↙≔ⅉηF⁸«P✳&⁶κ×O⌊⟦η÷⁺ιI§4062κ⁸⟧Mη✳&⁶κ
Try it online! Link is to verbose version of code. Explanation:
...
1
vote
Walk by walls in a room
JavaScript (Node.js), 197 199 205 208 bytes
Gained some bytes by improving solution, but lost some by fixing a bug regarding "bonus case 2"
Gained 8 bytes after analyzing suggestions from ...
1
vote
1
vote
Basic ASCII Tallies
Vyxal L, 169 bitsv2, 21.125 bytes
4ẋ5ẇƛ\|*₅5=[ḢėṘƛ÷$\/Ȧ;ðwj
Try it Online!
1
vote
Make me a s'more!
J, 14 bytes
#&>'GCMG'#~4&$
Attempt This Online!
Takes input as 10 f 3 2 1 for the example test case.
...
1
vote
Programming Languages Through The Years
1970 – Pascal
The programming language Pascal is named in honor of the French mathematician Blaise Pascal (1623 – 1662).
It is an imperative programming language developed by Niklaus Wirth at the ETH ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
ascii-art × 1196code-golf × 1147
string × 211
kolmogorov-complexity × 173
grid × 48
random × 39
animation × 38
math × 37
number × 35
geometry × 35
graphical-output × 33
fractal × 28
code-challenge × 24
decision-problem × 24
popularity-contest × 24
hexagonal-grid × 23
parsing × 17
printable-ascii × 15
date × 14
path-finding × 14
arithmetic × 13
integer × 13
tiling × 13
maze × 13
matrix × 12