New answers tagged

0 votes

The Programming Language Quiz, Mark II - Cops

???, 37 bytes print foreach n in range(100), n * 1; Output separated by newlines, preceded by a line containing 100.
noodle man's user avatar
  • 6,121
1 vote

The Programming Language Quiz, Mark II - Cops

???, 70 bytes >1+v< / > \ (!_++)t(!_++^!# @!d_+) / v""<> / > ^>^ ~~<^\=~~
Fmbalbuena's user avatar
  • 3,831
0 votes

Make an alphabet searchlight!

Vyxal 3 j, 7 bytes kZ€ƛd«Ḣ Try it Online! ...
pacman256's user avatar
  • 3,300
0 votes

Find the Chess960 starting positions from its integer ID

Funge-98, 182 bytes ...
Alt Shift X's user avatar
2 votes

Find the Chess960 starting positions from its integer ID

APL+WIN, 146 bytes. Prompts for layout number. Uses compressed versions of the bishops' and knights' tables. ...
Graham's user avatar
  • 5,846
0 votes

"99 Bottles of Beer"

Python 3.8 (pre-release), 237 bytes ...
Alan Breadel's user avatar
  • 3,823
3 votes

Find the Chess960 starting positions from its integer ID

Charcoal, 80 76 74 bytes Nθ≔KD⁸→ηF²«§≔η⁻⊕⊗θιB≧÷⁴軧≔η§⌕AηωθQF⪪”)“∧⊟bB%⁰”χ§≔η§⌕AηωI§ι÷θ⁶NFRKR§≔η⌕ηωι Try it online! Link is to verbose version of code. Explanation: ...
Neil's user avatar
  • 169k
7 votes

Find the Chess960 starting positions from its integer ID

JavaScript (ES6), 117 bytes This is based on the direct derivation method described on Wikipedia. ...
Arnauld's user avatar
  • 191k
0 votes

Print the Christmas alphabet

Deadfish~, 27 bytes iisiiiis{ic}ici{ic}icicicic Try it online! My first Deadfish~ answer, I don't know if it could be improved. How does it work? ...
enzo's user avatar
  • 1,941
1 vote

Hare Krishna Hare Krishna Krishna Krishna Hare Hare

Vyxal 3, 39 bytes "ᶜ₂ᶠ„•;DJ$Ṙd½Jf:•"ᵇcð₇₁„r$•"ᴳ=Ṡ„rJᵛV4Ẇ' Try it Online!
pacman256's user avatar
  • 3,300
0 votes

Numbers by Position

YASEPL, 24 bytes =a$`1=b)""ſa;b,a<!+}4,9 explanation (in pseudocode) ...
madeforlosers's user avatar
0 votes

Loading... Forever

YASEPL, 122 bytes =sŔ,9=1)pipeſdivideſminusſ"\"=b$27»ſopenbracket=o|3`1!aŔ,9!c$a-s}1,250,3|`3!b~#"2J"~#"HLoading..."=g¥o,1~!o+%4!Ŕ,9| ...
madeforlosers's user avatar
0 votes

Print this diamond

YASEPL, 77 bytes =a$`1!d$10-a;" ",d~!e$`6~+}2,a,6!@8!e`7~-]8,7`8>" "!c@2!++`2!-}2,9,5!c$`5}1,0 explained: ...
madeforlosers's user avatar
2 votes

Numbers by Position

Uiua SBCS, 9 bytes ▽:+@0.⇡10 Try it!
chunes's user avatar
  • 23.4k
2 votes

Numbers by Position

Labyrinth, 21 bytes " }*!@ 9 : { :(1"" "" Try it online! ...
Bubbler's user avatar
  • 74.9k
2 votes

First person to ever beat Classic Tetris

YASEPL, 131 130 bytes ...
madeforlosers's user avatar
1 vote

Print numbers from 1 to 10

YASEPL, 10 bytes =a`1+<}4,9
madeforlosers's user avatar
1 vote

Print the Christmas alphabet

YASEPL, 26 bytes algorithmic way of doing it =a$97`1}3,108,2›`2+}2,123 YASEPL, 28 bytes lazy way of doing it ...
madeforlosers's user avatar
1 vote

1, 2, miss a few, 99, 100

YASEPL, 60 54 chars =a)commaſspace=b$48+›#a+›#a#"miss a few"#a+7››#a-8›-›› if you're wondering, this is a pretty stupid esolang I made a while ago in ...
madeforlosers's user avatar
1 vote

First person to ever beat Classic Tetris

Javascript (V8), 134 bytes ...
madeforlosers's user avatar
0 votes

Sing Happy Birthday to your favourite programming language

Rust, 134 bytes ...
Joonas's user avatar
  • 11
1 vote

1, 2, miss a few, 99, 100

C#, 74 bytes using System;Console.Write($"{4-3}, {5-3}, miss a few, {33*3}, {64*4:X}");
Ezlanding's user avatar
0 votes

Print numbers from 1 to 10

Rattle, 6 bytes [+p]10 Try it Online! Loop 10 times while incrementing and printing each time
Daniel H.'s user avatar
  • 3,346
0 votes

Print numbers from 1 to 10

Uiua SBCS, 5 bytes +1⇡10 Try it!
chunes's user avatar
  • 23.4k
2 votes

Print numbers from 1 to 10

Labyrinth, 14 bytes 9:" (" !) \"@ Try it online! Prints 1 to 10 separated and terminated by newlines. ...
Bubbler's user avatar
  • 74.9k
1 vote

1, 2, miss a few, 99, 100

GNU dc, 41 bytes Kzn[, ]nzzn[, miss a few, ]n33z*dn[, ]n+n Try it online!
camelCasedSnivy's user avatar
0 votes

Sing Happy Birthday to your favourite programming language

Windows Batch Scripting (88 bytes) set "t=Happy Birthday to You" set n=^&echo. echo %t%%n%%t%%n%%t:to You=Dear Batch%%n%%t%
vengy's user avatar
  • 1,603
0 votes

1, 2, Fizz, 4, Buzz

Rust, 171 bytes ...
Joonas's user avatar
  • 11
0 votes

Loading... Forever

CLC-INTERCAL -psyscall, 356 bytes Uses latest feature: syscall #9. ...
鳴神裁四点一号's user avatar
1 vote

Sing Happy Birthday to your favourite programming language

Uiua, 45 bytes SBCS ⍥(&p⊂"Happy Birthday ")4.,"Dear Uiua""to You" Try it online! Explanation ...
Adelie's user avatar
  • 61
0 votes

A Programming Puzzle of Mode Golf

Uiua, 32 bytes×4 os=128 points &p♭⍉↯4"Good morning, Green orb!" Test pad On stdout: ...
Joao-3's user avatar
  • 1,021
3 votes

First person to ever beat Classic Tetris

Python 3.10.10, 164 bytes(UTF-8) Definitely not the shortest, but oh well. ...
00001H's user avatar
  • 31
1 vote

"Hello, World!"

m4, 13 bytes Hello, World! Try it online! Trivial solution!
camelCasedSnivy's user avatar
2 votes

"Hello, World!"

Uiua, 17 bytes &p"Hello, World!" Explanation: ...
Adelie's user avatar
  • 61
3 votes

The Programming Language Quiz, Mark II - Cops

Literate Vyxal 3, 42 bytes, safe n = 100 for index in range(n) print index Try it Online! Output as newline-separated decimal integers. Vyxal 3 has a literate ...
emanresu A's user avatar
  • 37.1k
2 votes

The Programming Language Quiz, Mark II - Cops

Vyxal 2, 33 bytes, cracked by emanresu A n=0 print from 1 to 100(n, n=n+1)
Alan Breadel's user avatar
  • 3,823
0 votes

Even and Odd Numbers

Ly, 36 34 bytes "E"' _&s&o '2_R_r_p[:+,u>' _l_&o<] Try it online! At a high level, this one works like this... print the initial ...
cnamejj's user avatar
  • 2,659
1 vote

First person to ever beat Classic Tetris

Pascal (FPC), 232 bytes On 6 June 1984, the first Tetris version was written in Pascal for the Electronica 60. ...
vengy's user avatar
  • 1,603
2 votes

First person to ever beat Classic Tetris

Assembly (nasm, x64, linux) 322 bytes ...
vengy's user avatar
  • 1,603
2 votes
Accepted

First person to ever beat Classic Tetris

Whitespace, 695 682 bytes ...
Kevin Cruijssen's user avatar
0 votes

Loading... Forever

Scratch, 98 bytes Try it on Scratch! define forever set[i v]to(((i)mod(4))+(1 say(join[Loading... ](letter(i)of[|/-\\]))for(.25)seconds
noodle man's user avatar
  • 6,121
2 votes

Loading... Forever

C89, 71 bytes main(i){for(;;)usleep(4<<printf("Loading... %c\n[A","/-\\|"[i++&3]));} Using printable characters the format argument ...
c--'s user avatar
  • 2,453
1 vote

First person to ever beat Classic Tetris

05AB1E, 34 33 bytes •{Žúƶ Í‹¼šÎëPšpUθrćQ´β•3B¾94×ìTô» Outputs 012 for BEG/blue-black-green ...
Kevin Cruijssen's user avatar
0 votes

Charlie, Oscar, Delta, Echo

Pip -l, 132 124 bytes ...
DLosc's user avatar
  • 38.4k
1 vote

Charlie, Oscar, Delta, Echo

Vyxal 3, 78 76 bytes m':ᵛ+"vD∦C∑:ḋᵉ∑7ðȮ÷m^¹,ṫ₈Cⁿ«⁾hƒu~Φ∑₈DᴳkƓᶤNGġṀ<ϩɠ←⁰øWᵘ₉Πȧƛ₄∦ιqṘᶴ]←Ṭ}₈NḋẠᵃ”ṂZ' Try it Online!
pacman256's user avatar
  • 3,300
1 vote

First person to ever beat Classic Tetris

Vyxal 3, 32 bytes "ṁṘkƓ₳İᵛᵂƛ»Ω7∥I»;ᶤḌᶠĖꜝ“3y₅dÞ0₀Ẇ' Try it Online! This is roughly a port of Nick Kennedy's Jelly answer.
noodle man's user avatar
  • 6,121
0 votes

A very long Terza Rima

Uiua, 21 bytes ≡&p↘¯1⍉⍜⊙⊡↻.1↯3+@A⇡26 Pad
Joao-3's user avatar
  • 1,021
1 vote

Print out all IPv6 addresses

Go, \$243 \times 0.8 = \$ 194.4 bytes ...
bigyihsuan's user avatar
  • 8,978
1 vote

First person to ever beat Classic Tetris

Pip -l, 46 bytes 0X94.(A*"!`V(;O0 1U _3^R@=Mc,c"FDh)TB3<>t The code contains unprintable ...
DLosc's user avatar
  • 38.4k
0 votes

Every word from babab to zyzyz

Regenerate -a, 82 bytes [bcdfghjklmnpqrstvwxz][aeiouy][bcdfghjklmnpqrstvwxz][aeiouy][bcdfghjklmnpqrstvwxz] Attempt This Online! ...
DLosc's user avatar
  • 38.4k

Top 50 recent answers are included