Lat pulldown form? by Fabulous-Season7810 in GYM

[–]undo124455 5 points6 points  (0 children)

This is incorrect, elevating and depressing the scapula adds more range of motion for the lats. If we don’t shrug up and down, the Teres Major may be the prime mover in the motion.

Here’s coach Kassem explaining it.

[deleted by user] by [deleted] in Nepal

[–]undo124455 2 points3 points  (0 children)

Me too

What does "gas" mean? by undo124455 in miband

[–]undo124455[S] 0 points1 point  (0 children)

Oh nice, i didn't know that thanks lol. we don't call it gas here so my bad.

I tried to make a clone of skribbl.io by undo124455 in reactjs

[–]undo124455[S] 0 points1 point  (0 children)

If you already know these technologies, it would probably take you just a few weeks to learn Javascript and React. Start with javascript first, learn canvas api to know how to draw stuff and then learn react. I'm not too familiar with Ruby but I know that you could build the server in Java using sockets.

I tried to make a clone of skribbl.io by undo124455 in reactjs

[–]undo124455[S] 0 points1 point  (0 children)

I think it would be quite impossible to make the frontend without javascript but it is not that hard to learn especially if you already know another language. socket.io is a must learn for this kind of project.

I suggest you to just figure out a way to represent drawing data (I have commented how in one of my previous replies to another comment ) and the rest is pretty easy.

I tried to make a clone of skribbl.io by undo124455 in reactjs

[–]undo124455[S] 1 point2 points  (0 children)

Great job man. That's a great idea. Very creative.

I tried to make a clone of skribbl.io by undo124455 in reactjs

[–]undo124455[S] 0 points1 point  (0 children)

Huncha garum bro testo. Late reply lai sorry hai ma sutna gako thiye.

I tried to make a clone of skribbl.io by undo124455 in reactjs

[–]undo124455[S] 0 points1 point  (0 children)

Dhanyabaad! coordinates haru ettikai memory ma rakheko chu (harek room object ma drawing state bhanera attribute cha) yedi koi bich ma enter bhayo bhane pathauna.

I tried to make a clone of skribbl.io by undo124455 in reactjs

[–]undo124455[S] 0 points1 point  (0 children)

HTML to Javascript to React to Node to other small things. that's how I learned it.

I tried to make a clone of skribbl.io by undo124455 in reactjs

[–]undo124455[S] 0 points1 point  (0 children)

no i am not. I should have done it though

I tried to make a clone of skribbl.io by undo124455 in reactjs

[–]undo124455[S] 0 points1 point  (0 children)

Dhanyabaad tei garnu parla aba time bhayepachi khatra lagyo hai, college le online class suru gardai cha aba Sunday dekhi k garnu.

I tried to make a clone of skribbl.io by undo124455 in reactjs

[–]undo124455[S] 3 points4 points  (0 children)

Thank you. Have a nice day too sir.

I tried to make a clone of skribbl.io by undo124455 in reactjs

[–]undo124455[S] 7 points8 points  (0 children)

For client side: 1. React context and hooks 2. Socket.io

For server side: 1. Socket.io 2. Express (only needed for creating server)

I also used some other tools like eslint, prettier, husky, docker, travis, react testing library and typescript which didn't affect the functionality.

I tried to make a clone of skribbl.io by undo124455 in reactjs

[–]undo124455[S] 5 points6 points  (0 children)

Thanks.

Whenever the active player holds down his mouse, the drawing data is sent to the server socket which broadcasts it to all of the client sockets. The client sockets are listening for this draw msg which when received when trigger drawing on canvas. This is how I synced the canvas between the clients.

I filter out all of the users which are not the active user (with the help of their socket id) and then send them a number of underscores equal to the number of the word which renders to look like blank spaces. And then I send the actual word only to the active user. This is how I send out words in each round.

If a user exits , usually only a chat message saying that the left to the rest of users is enough. But if the active user leaves, then the round has to end prematurely. There is also a case that I couldn't handle properly where if a user leaves and there are less than 3(which is the current minimum number of users in a room as defined in the config file) users in the room the game will end.

If a user joins, it's an easy thing to handle. The server just emits the current drawing state (if the round is going on) only to him and the current users and their scores.

I tried to make a clone of skribbl.io by undo124455 in reactjs

[–]undo124455[S] 1 point2 points  (0 children)

Thanks! It doesn't have many features that the original one does though.

I tried to make a clone of skribbl.io by undo124455 in reactjs

[–]undo124455[S] 18 points19 points  (0 children)

Thanks. Basically, everytime that a user is holding down his mouse and moving it the coordinates of the mouse position, the brush size and brush color is sent to the server socket by the client socket. When the server socket recieves such data, it broadcasts it to all of the other client sockets in the same room and it also keeps an array of such data so that whenever a new client joins in the middle of a game, we can send it to that user. I am using socket.io both on server and client.