dwitter.net | #Game

+ New dweet
function u(t) {
} //
122/140


Please log in (or register) to post a dweet (copy-paste the code somewhere safe to save it meanwhile)


u(t) is called 60 times per second. t: Elapsed time in seconds. S: Shorthand for Math.sin. C: Shorthand for Math.cos. T: Shorthand for Math.tan. R: Function that generates rgba-strings, usage ex.: R(255, 255, 255, 0.5) c: A 1920x1080 canvas. x: A 2D context for that canvas.
Try the new frontend: beta.dwitter.net
Current theme challenge: #Food
show FPS hide FPS share 1 remix fullscreen

function u(t) {

}//
140/140


Please log in (or register) to post as a new dweet (copy-paste code somewhere safe to save it meanwhile).

  • #snake #game : play with arrows : best on fullscreen : try to fill ;)

Please log in (or register) to comment.

show FPS hide FPS share fullscreen

function u(t) {

}//
140/140


Please log in (or register) to post as a new dweet (copy-paste code somewhere safe to save it meanwhile).

  • u/ciaccodavide
    Uncompressed code of the first (and prettier) version: L=c.width=567;onmousemove=e=>T=e;r=(j,k)=>(x.moveTo(j,k),x.arc(j,k,9,0,9));r(X=T.x,Y=T.y);for(i=9;i--;t>d+3&&Math.abs(h-X)+Math.abs(k-Y)<25&&(g=-d+(d=~~t),s+=','+g))r(h=t*21*i%L,k=i*13*t%L);x.fill();throw~~t-d+s;}{s=g=d=0

Please log in (or register) to comment.

show FPS hide FPS share fullscreen

function u(t) {

}//
138/140


Please log in (or register) to post as a new dweet (copy-paste code somewhere safe to save it meanwhile).

  • two player #pong (Q↑↓A vs L↑↓P) dweet split experiment [3/3] - full code at codegolf.tk/a/363
  • u/metamero
    #game instructions: scroll down and back sometimes to begin. click on canvas and play with keys Q/A for one player and L/P for the other. also works when seeing/executing all the tree parts/dweets d/14017 d/14016 and d/14015 . or just scroll my page up to the last part u/metamero
  • u/metamero
    for the game to work on this window you first have to open/run the other parts d/14017 d/14016

Please log in (or register) to comment.

show FPS hide FPS share fullscreen
remix of d/9698 by u/katkip

function u(t) {

}//
140/140


Please log in (or register) to post as a new dweet (copy-paste code somewhere safe to save it meanwhile).

  • If you find the d w i t t e r crossword puzzle you win 1 dollar. #game

Please log in (or register) to comment.

show FPS hide FPS share 1 remix fullscreen

function u(t) {

}//
137/140


Please log in (or register) to post as a new dweet (copy-paste code somewhere safe to save it meanwhile).

  • [math game] added some features

Please log in (or register) to comment.

show FPS hide FPS share 1 remix fullscreen

function u(t) {

}//
140/140


Please log in (or register) to post as a new dweet (copy-paste code somewhere safe to save it meanwhile).

  • ♛ QUEEN'S GAMBIT ♛ - You may need to go to d/14031, and scroll down and up until the game starts (may take 7 times). Arrow keys move. Mouse aims. R restarts. God save the Queen! #Game

Please log in (or register) to comment.

show FPS hide FPS share 1 remix fullscreen

function u(t) {

}//
140/140


Please log in (or register) to post as a new dweet (copy-paste code somewhere safe to save it meanwhile).

  • ♛ QUEEN'S GAMBIT ♛ - You may need to go to d/14031, and scroll down and up until the game starts (may take 7 times). Arrow keys move. Mouse aims. R restarts. God save the Queen! #Game

Please log in (or register) to comment.

show FPS hide FPS share 1 remix fullscreen

function u(t) {

}//
140/140


Please log in (or register) to post as a new dweet (copy-paste code somewhere safe to save it meanwhile).

  • ♛ QUEEN'S GAMBIT ♛ - You may need to go to d/14031, and scroll down and up until the game starts (may take 7 times). Arrow keys move. Mouse aims. R restarts. God save the Queen! #Game

Please log in (or register) to comment.

show FPS hide FPS share 1 remix fullscreen

function u(t) {

}//
140/140


Please log in (or register) to post as a new dweet (copy-paste code somewhere safe to save it meanwhile).

  • ♛ QUEEN'S GAMBIT ♛ - You may need to go to d/14031, and scroll down and up until the game starts (may take 7 times). Arrow keys move. Mouse aims. R restarts. God save the Queen! #Game

Please log in (or register) to comment.

show FPS hide FPS share 1 remix fullscreen

function u(t) {

}//
140/140


Please log in (or register) to post as a new dweet (copy-paste code somewhere safe to save it meanwhile).

  • ♛ QUEEN'S GAMBIT ♛ - You may need to go to d/14031, and scroll down and up until the game starts (may take 7 times). Arrow keys move. Mouse aims. R restarts. God save the Queen! #Game

Please log in (or register) to comment.

Loading...
Next page