Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Task: https://github.com/AlreadyBored/nodejs-assignments/blob/main/assignments/remote-control/assignment.md
Done: 26.06.2022 / deadline 26.06.2022
Score: 164/ 164
Basic Scope
Websocket
+6 Implemented workable websocket server
+10 Websocket server message handler implemented properly
+10 Websocket server message sender implemented properly
Navigation
+4 Move mouse up implemented properly
+4 Move mouse down implemented properly
+4 Move mouse left implemented properly
+4 Move mouse right implemented properly
+4 Send mouse coordinates implemented properly
Drawing
+6 Draw circle implemented properly
+6 Draw rectangle implemented properly
+6 Draw square implemented properly
Screen image
+30 Send screen image implemented properly (optionally)
Advanced Scope
+30 Task implemented on Typescript
+20 All data transfer operations with send/get should be performed using Streams API
+20 Codebase is separated (at least 4 modules)
How to Install The Application:
It needs Python and Visual Studio C/C++ tools to be installed
![screenshot 814](https://user-images.githubusercontent.com/85128476/175946098-9d615da9-c99d-432b-a536-ee083174faae.jpg)
Use your terminal command line interface
$ git clone https://github.com/Ihar-dev/websocket-remote-control.git
or
$ git clone git@github.com:Ihar-dev/websocket-remote-control.git
then
$ cd websocket-remote-control
$ git checkout develop
$ npm i
$ npm run start:prod
to run the app in production mode with nodemon
$ npm run start:dev
to run the app in development mode with nodemon
$ npm run start
to run the app with node
then
open your browser on the page http://localhost:3000
use your mouse and keyboard