Skip to main content
Commonmark migration
Source Link

#JavaScript (4 Tweets / 343 317 bytes / 243 spare)

JavaScript (4 Tweets / 343 317 bytes / 243 spare)

Not quite sure about the requirements of the header & Tweets format, so please advise if it needs correcting. Still a bit more can be shaved off I'm certain.

###Tweet 1 - P0 (11 bytes) chrome a.js

Tweet 1 - P0 (11 bytes)

chrome a.js 

Tweet 2 (82 bytes)

a=y=z=j=0,onkeyup=b=>R((k=b.keyCode-40)?z*2*(d=k+3?k+1?1:.5:2)&65|j*d&a||(z*=d):0) 

Tweet 3 (126 bytes)

R=d=>{d||(!(!y||a&j>>5)||(y>25?a=0:(31^31&(a|=j)>>y||(a=a>>y+5<<y|a&-1>>>-y-5>>5),y=0)),y-=5),y>=0||(y=30,z=12/(new Date%3+1)) 

Tweet 4 (98 bytes)

j=z<<y;for(o="",i=30;i--;)o+=1<<i&(a|j)?"#":"_",o+=i%5?"":"<br>";O.innerHTML=o},setInterval(R,300) 

#Run it in JSFiddle: https://jsfiddle.net/CookieJon/7Lenhcge/

Run it in JSFiddle: https://jsfiddle.net/CookieJon/7Lenhcge/

(Click on the output pane to provide focus for keyboard events)

#JavaScript (4 Tweets / 343 317 bytes / 243 spare)

Not quite sure about the requirements of the header & Tweets format, so please advise if it needs correcting. Still a bit more can be shaved off I'm certain.

###Tweet 1 - P0 (11 bytes) chrome a.js

Tweet 2 (82 bytes)

a=y=z=j=0,onkeyup=b=>R((k=b.keyCode-40)?z*2*(d=k+3?k+1?1:.5:2)&65|j*d&a||(z*=d):0) 

Tweet 3 (126 bytes)

R=d=>{d||(!(!y||a&j>>5)||(y>25?a=0:(31^31&(a|=j)>>y||(a=a>>y+5<<y|a&-1>>>-y-5>>5),y=0)),y-=5),y>=0||(y=30,z=12/(new Date%3+1)) 

Tweet 4 (98 bytes)

j=z<<y;for(o="",i=30;i--;)o+=1<<i&(a|j)?"#":"_",o+=i%5?"":"<br>";O.innerHTML=o},setInterval(R,300) 

#Run it in JSFiddle: https://jsfiddle.net/CookieJon/7Lenhcge/

(Click on the output pane to provide focus for keyboard events)

JavaScript (4 Tweets / 343 317 bytes / 243 spare)

Not quite sure about the requirements of the header & Tweets format, so please advise if it needs correcting. Still a bit more can be shaved off I'm certain.

Tweet 1 - P0 (11 bytes)

chrome a.js 

Tweet 2 (82 bytes)

a=y=z=j=0,onkeyup=b=>R((k=b.keyCode-40)?z*2*(d=k+3?k+1?1:.5:2)&65|j*d&a||(z*=d):0) 

Tweet 3 (126 bytes)

R=d=>{d||(!(!y||a&j>>5)||(y>25?a=0:(31^31&(a|=j)>>y||(a=a>>y+5<<y|a&-1>>>-y-5>>5),y=0)),y-=5),y>=0||(y=30,z=12/(new Date%3+1)) 

Tweet 4 (98 bytes)

j=z<<y;for(o="",i=30;i--;)o+=1<<i&(a|j)?"#":"_",o+=i%5?"":"<br>";O.innerHTML=o},setInterval(R,300) 

Run it in JSFiddle: https://jsfiddle.net/CookieJon/7Lenhcge/

(Click on the output pane to provide focus for keyboard events)

deleted 39 characters in body
Source Link
Bumpy
  • 489
  • 3
  • 6

#JavaScript (4 Tweets / 349343 343317 bytes / 217243 spare)

Not quite sure about the requirements of the header & Tweets format, so please advise if it needs correcting. Still a bit more can be shaved off I'm certain.

###Tweet 1 - P0 (11 bytes) chrome a.js

Tweet 2 (10882 bytes)

a=0,y=0,z=0,j=0,h=document.bodya=y=z=j=0,h.onkeyup=b=>{Ronkeyup=b=>R((k=b.keyCode-40)?z*2*(d=k+3?k+1?1:.5:2)&65|j*d&a||(z*=d):0)} 

Tweet 3 (126 bytes)

R=d=>{d||(!(!y||a&j>>5)||(y>25?a=0:(31^31&(a|=j)>>y||(a=a>>y+5<<y|a&-1>>>-y-5>>5),y=0)),y-=5),y>=0||(y=30,z=12/(new Date%3+1)) 

Tweet 4 (98 bytes)

j=z<<y;for(o="",i=30;i--;)o+=1<<i&(a|j)?"#":"_",o+=i%5?"":"<br>";h"<br>";O.innerHTML=o},setInterval(R,400300) 

#Run it in JSFiddle: https://jsfiddle.net/CookieJon/7Lenhcge/

(Click on the output pane to provide focus for keyboard events)

#JavaScript (4 Tweets / 349 343 bytes / 217 spare)

Not quite sure about the requirements of the header & Tweets format, so please advise if it needs correcting. Still a bit more can be shaved off I'm certain.

###Tweet 1 - P0 (11 bytes) chrome a.js

Tweet 2 (108 bytes)

a=0,y=0,z=0,j=0,h=document.body,h.onkeyup=b=>{R((k=b.keyCode-40)?z*2*(d=k+3?k+1?1:.5:2)&65|j*d&a||(z*=d):0)} 

Tweet 3 (126 bytes)

R=d=>{d||(!(!y||a&j>>5)||(y>25?a=0:(31^31&(a|=j)>>y||(a=a>>y+5<<y|a&-1>>>-y-5>>5),y=0)),y-=5),y>=0||(y=30,z=12/(new Date%3+1)) 

Tweet 4 (98 bytes)

j=z<<y;for(o="",i=30;i--;)o+=1<<i&(a|j)?"#":"_",o+=i%5?"":"<br>";h.innerHTML=o},setInterval(R,400) 

#Run it in JSFiddle: https://jsfiddle.net/CookieJon/7Lenhcge/

(Click on the output pane to provide focus for keyboard events)

#JavaScript (4 Tweets / 343 317 bytes / 243 spare)

Not quite sure about the requirements of the header & Tweets format, so please advise if it needs correcting. Still a bit more can be shaved off I'm certain.

###Tweet 1 - P0 (11 bytes) chrome a.js

Tweet 2 (82 bytes)

a=y=z=j=0,onkeyup=b=>R((k=b.keyCode-40)?z*2*(d=k+3?k+1?1:.5:2)&65|j*d&a||(z*=d):0) 

Tweet 3 (126 bytes)

R=d=>{d||(!(!y||a&j>>5)||(y>25?a=0:(31^31&(a|=j)>>y||(a=a>>y+5<<y|a&-1>>>-y-5>>5),y=0)),y-=5),y>=0||(y=30,z=12/(new Date%3+1)) 

Tweet 4 (98 bytes)

j=z<<y;for(o="",i=30;i--;)o+=1<<i&(a|j)?"#":"_",o+=i%5?"":"<br>";O.innerHTML=o},setInterval(R,300) 

#Run it in JSFiddle: https://jsfiddle.net/CookieJon/7Lenhcge/

(Click on the output pane to provide focus for keyboard events)

edited body
Source Link
Bumpy
  • 489
  • 3
  • 6

#JavaScript (4 Tweets / 349 343 bytes / 217 spare)

Not quite sure about the requirements of the header & Tweets format, so please advise if it needs correcting. Still a bit more can be shaved off I'm certain.

###Tweet 1 - P0 (11 bytes) chrome a.js

Tweet 2 (108 bytes)

a=0,y=0,z=0,j=0,h=document.body,h.onkeyup=b=>{R((k=b.keyCode-40)?z*2*(d=k+3?k+1?1:.5:2)&65|j*d&a||(z*=d):0)} 

Tweet 3 (126 bytes)

R=d=>{d||(!(!y||a&j>>5)||(y>25?a=0:(31^31&(a|=j)>>y||(a=a>>y+5<<y|a&-1>>>-y-5>>5),y=0)),y-=5),y>=0||(y=30,z=12/(new Date%3+1)) 

Tweet 34 (98 bytes)

j=z<<y;for(o="",i=30;i--;)o+=1<<i&(a|j)?"#":"_",o+=i%5?"":"<br>";h.innerHTML=o},setInterval(R,400) 

#Run it in JSFiddle: https://jsfiddle.net/CookieJon/7Lenhcge/

(Click on the output pane to provide focus for keyboard events)

#JavaScript (4 Tweets / 349 343 bytes / 217 spare)

Not quite sure about the requirements of the header & Tweets format, so please advise if it needs correcting. Still a bit more can be shaved off I'm certain.

###Tweet 1 - P0 (11 bytes) chrome a.js

Tweet 2 (108 bytes)

a=0,y=0,z=0,j=0,h=document.body,h.onkeyup=b=>{R((k=b.keyCode-40)?z*2*(d=k+3?k+1?1:.5:2)&65|j*d&a||(z*=d):0)} 

Tweet 3 (126 bytes)

R=d=>{d||(!(!y||a&j>>5)||(y>25?a=0:(31^31&(a|=j)>>y||(a=a>>y+5<<y|a&-1>>>-y-5>>5),y=0)),y-=5),y>=0||(y=30,z=12/(new Date%3+1)) 

Tweet 3 (98 bytes)

j=z<<y;for(o="",i=30;i--;)o+=1<<i&(a|j)?"#":"_",o+=i%5?"":"<br>";h.innerHTML=o},setInterval(R,400) 

#Run it in JSFiddle: https://jsfiddle.net/CookieJon/7Lenhcge/

(Click on the output pane to provide focus for keyboard events)

#JavaScript (4 Tweets / 349 343 bytes / 217 spare)

Not quite sure about the requirements of the header & Tweets format, so please advise if it needs correcting. Still a bit more can be shaved off I'm certain.

###Tweet 1 - P0 (11 bytes) chrome a.js

Tweet 2 (108 bytes)

a=0,y=0,z=0,j=0,h=document.body,h.onkeyup=b=>{R((k=b.keyCode-40)?z*2*(d=k+3?k+1?1:.5:2)&65|j*d&a||(z*=d):0)} 

Tweet 3 (126 bytes)

R=d=>{d||(!(!y||a&j>>5)||(y>25?a=0:(31^31&(a|=j)>>y||(a=a>>y+5<<y|a&-1>>>-y-5>>5),y=0)),y-=5),y>=0||(y=30,z=12/(new Date%3+1)) 

Tweet 4 (98 bytes)

j=z<<y;for(o="",i=30;i--;)o+=1<<i&(a|j)?"#":"_",o+=i%5?"":"<br>";h.innerHTML=o},setInterval(R,400) 

#Run it in JSFiddle: https://jsfiddle.net/CookieJon/7Lenhcge/

(Click on the output pane to provide focus for keyboard events)

deleted 23 characters in body
Source Link
Bumpy
  • 489
  • 3
  • 6
Loading
deleted 25 characters in body
Source Link
Bumpy
  • 489
  • 3
  • 6
Loading
added 23 characters in body
Source Link
Bumpy
  • 489
  • 3
  • 6
Loading
deleted 1 character in body
Source Link
Bumpy
  • 489
  • 3
  • 6
Loading
edited body
Source Link
Bumpy
  • 489
  • 3
  • 6
Loading
edited body
Source Link
Bumpy
  • 489
  • 3
  • 6
Loading
Shortened code
Source Link
Bumpy
  • 489
  • 3
  • 6
Loading
deleted 1450 characters in body
Source Link
Bumpy
  • 489
  • 3
  • 6
Loading
deleted 14 characters in body
Source Link
Bumpy
  • 489
  • 3
  • 6
Loading
deleted 6 characters in body
Source Link
Bumpy
  • 489
  • 3
  • 6
Loading
Added readable code
Source Link
Bumpy
  • 489
  • 3
  • 6
Loading
Added readable code
Source Link
Bumpy
  • 489
  • 3
  • 6
Loading
Post Undeleted by Bumpy
Version changed
Source Link
Bumpy
  • 489
  • 3
  • 6
Loading
Post Deleted by Bumpy
deleted 116 characters in body
Source Link
Bumpy
  • 489
  • 3
  • 6
Loading
added 116 characters in body
Source Link
Bumpy
  • 489
  • 3
  • 6
Loading
added 1885 characters in body
Source Link
Bumpy
  • 489
  • 3
  • 6
Loading
Source Link
Bumpy
  • 489
  • 3
  • 6
Loading