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: #Opposites
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).

  • PONG

Please log in (or register) to comment.

show FPS hide FPS share fullscreen

function u(t) {

}//
139/140


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

Please log in (or register) to comment.

show FPS hide FPS share fullscreen

function u(t) {

}//
110/140


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

  • Wordle prototype. 0=letter isnt in word, 1=letter is in word but at the wrong place, 2=letter is in the word at the right place. A new word every day
  • u/Odog8
    case sensitive, may require parenthesis or numbers.
  • u/Odog8
    doesn't count the occurences of letters in string, if you have 3 "e"'s in your guess but there are only two, all three will still be lit up
  • u/joeytwiddle
    Really impressive! #wordle #game
  • u/joeytwiddle
    I got today's in 3 guesses!
  • u/lewdev
    Ok, I get it. You're guessing one of 207 keys in "this". It's case sensitive so you'll guess words like "customElements".

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).

  • Number collector!! Click the screen to move the square 90 degrees clockwise. Collect the numbers. Don't crash into the edge of the screen or all your points will be lost. #interactive #game
  • u/Joachim
    Sorry, the square moves anti-clockwise when you click
  • u/neimad
    love it
  • u/cantelope
    nice! and i especially love that i can play it with only my main finger
  • u/sigveseb
    well executed!
  • u/Joachim
    Golfed more accurate movement: z=c.width=200;t?onmousedown=e=>d--:w=s=d=X=Y=a=9;x.fillRect(X+=C(f=d*1.57),Y+=S(f),9,9);X>w-9&Y<s&Y>s-15&X<w+9?(w=z%S(t)*99,s=9+z%C(t)*99,a++):x.fillText(a,w,s);X<0|X>z|Y<0|Y>99?(a=0,d-=2):d%=4

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).

Please log in (or register) to comment.

show FPS hide FPS share fullscreen
TGY

function u(t) {

}//
133/140


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

  • u/TGY
    Original idea involved mouse controls, but I was unlucky golfing it. Here is source for you to try golf&play c.width=568 t||(a=T=0,X=Y=99,onmousemove=e=>a=T?a:Math.atan2(e.y-Y,e.x-X),onclick=e=>T||=16) with(x)beginPath(translate(X-=C(a)*T,Y-=S(a)*T)),rotate(a),rect(t%1*9+9,-4,99,T?T--&0:8),fill(arc(0,0,9,0,7))

Please log in (or register) to comment.

show FPS hide FPS share fullscreen

function u(t) {

}//
136/140


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

  • space shooter #game

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).

  • #game of Red Light, Green Light. Click to move the car forward. #interactive

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).

  • Wolfendweet 🐺 3d engine with mouse look and collision!

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).

  • Tiny Sandbox ⌛ Use mouse buttons to place... None 🧼 Erase, L 🌊 Water, M 🧱 Wall, R ⚡️ Lightning Eraser, L+M ⌛️ Sand, R+M 🌱 Vines, L+R ⛈️ Rain Storm, L+M+R 🌪️ Sand Storm

Please log in (or register) to comment.

Loading...
Next page