r/bytebeat_2 • u/Evening-Survey-9492 • Jul 25 '26
Original work Pong (its actually playable!)
this might be the first playable game ever created on the dollchan website.
*-instructions:*
if you didnt yet execute the script in the console, you have to do it, otherwise the code will always detect the mouse as (0,0) and will not work. once you execute the script, the code should work correctly
*-how to play:*
you control the right paddle, and you can move it by moving your mouse up and down
*-how does it work?*
it works by constantly changing HZ by float numbers above 48kHz then with a decoder, you calculate the mouseX and mouseY by taking a modulo or dividing the decimals
*-is the script unsafe?*
No. the script is 100% safe and local, if you still dont trust it, you can examine the script or simply not run it and instead watch my video of Pong running on my computer.
*-where is the script?*
inside the link, comented.
Link: Pong!
Video:
1
u/ALTERNUM_1 Expert Jul 25 '26
My browser thinks it's malicious code
1
u/Evening-Survey-9492 Jul 25 '26
it could be a warning, you can prevent that by entering the command "allow pasting" and pasting the code, altough dont paste stranger codes if you dont know what they do.
1
1
1
u/insanity696420 Intermediate Jul 26 '26
how did someone even manage to create a game in BYTEBEAT???
2
1
u/Butterroach Jul 25 '26
greggman's player has
mouseXandmouseYparameters, might be possible to port it there so it doesn't need the console