CodingTrain / CodingTrain/Suggestion-Box

Continuation of the topic of Shared Canvas

Open
#174 0 comments 1 reaction 0 assignees View on GitHub
Dominant language
No language data
Stars
570
Forks
85
PR merge metrics
No merged PRs in 30d

Description

Your video on the shared canvas using websockets and node.js has really inspired me. I would love to see a video covering some more basics that I could expand from on my own.

Main Goal: Allow multiple users (3+) to control their own object, like a rectangle, on the screen that moves when directional keys are pressed. Trigger events when they collide. We can keep it easy and make them change color.

Extra Credit: Have a server wide object on the screen that appears for everybody, whoever touches it first gets a "point" and the object changes location. We could use the idea of the "food" object from your snake game but make the food visible to all users.

It would be a great way to learn more of the basics of node.js/websockets and then eventually we could tie what we've learned in with the Agar challenge. I could even use the Snake example to create a local "slither.io" game which would really be awesome.

Thanks for providing, what I consider, college level education for free!!

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.