Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Websocket Remote Control #1

Open
wants to merge 13 commits into
base: main
Choose a base branch
from
Open

Websocket Remote Control #1

wants to merge 13 commits into from

Conversation

Ihar-dev
Copy link
Owner

@Ihar-dev Ihar-dev commented Jun 23, 2022

  1. Task: https://github.com/AlreadyBored/nodejs-assignments/blob/main/assignments/remote-control/assignment.md

  2. Done: 26.06.2022 / deadline 26.06.2022

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

  4. How to Install The Application:

It needs Python and Visual Studio C/C++ tools to be installed
screenshot 814

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

  1. How to Use The Application:

$ 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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant