Giter VIP home page Giter VIP logo

pbr's Introduction

PBR

Server installation from source

Follow these steps in your terminal (make sure you've installed git and NodeJS)

  1. git clone https://github.com/ThatCookie/PBR.git
  2. cd server
  3. npm i

(Start with npm start)

Client installation from source

Follow these steps in your terminal (make sure you've installed git and NodeJS)

  1. git clone https://github.com/ThatCookie/PBR.git
  2. cd client
  3. npm i

(Start with npm start)

Client Select Host

please press "*" to select the host (If you're hosting in local just type ws://localhost:8082, else type ws://<server-ip>:8082)

Server Configuration

All config options are in ./config/config.json

  • whitelist: true/false. Authorize connection for trusted IPs.
  • trustedIPs: []. Write the IPs to authorize with the whitelist.
  • blacklist: true/false. Reject any connection coming from banIPs.
  • banIPs: []. Write the IPs to reject on connection
  • port: int. Port for the WebSocket

pbr's People

Contributors

cankyre avatar

Watchers

 avatar

pbr's Issues

Image is kinda long to load

Describe the bug
The background image takes some time to load

To Reproduce
Steps to reproduce the behavior:

  1. Open client
  2. See error

Expected behavior
Image should load almost immediately

Cause
Image is 4K for quality, but it's huge and it takes a long time to load

Solution
Take image in few sizes, to adapt the client to the image

Ball too slow

Describe the bug
Ball too slow because of random

To Reproduce
Steps to reproduce the behavior:

  1. Start server
  2. Get client to good host
  3. Play the game
  4. See error

Expected behavior
The Ball must be fast and not boring as f**k

Additional context
Probably must add max/min random to the server

Can't open config overlay while playing

Describe the bug
It is impossible to open the overlay while playing

To Reproduce
Steps to reproduce the behavior:

  1. play
  2. Click on 'Control' (btw change this key)
  3. See error

Expected behavior
Possibility of opening overlay while playing

Additional context
I think ima need to put a new function lol

WebSocket is not secured

Is your feature request related to a problem? Please describe.
Nobody can make public servers, because Everybody needs wss://

Describe the solution you'd like
ADD F**CKING SSL

Physics are broken

Describe the bug
lol it's broken

To Reproduce

  1. Play the game you stupid

Expected behavior
Not broken physics

Solo mode

Is your feature request related to a problem? Please describe.
I want a solo mode, because solo is cool

Describe the solution you'd like
MAKE A SOLO MODE

THIS BRINGS A NEW PROBLEM
The code needs to be like the server, so maybe we can merge server and client (but still add a server for non-desktop devices)

Need to press two times Control to open the panel

Describe the bug
Need to press two times Control to open the panel, and that sucks

To Reproduce
Steps to reproduce the behavior:

  1. Open client
  2. Press Control
  3. See error

Expected behavior
When pressing Control panel should open immediately

Should We merge the server and the client ?

Is your feature request related to a problem? Please describe.
Here we have a new problem: the client is now a desktop app, so maybe it's possibl to host a server DIRECTLY into the client (making it client + server at the same time)

Solutions

  • merge server and client (but still make a server for non-desktop servers)
  • keep it like that

ball getting stuck

Describe the bug
the ball gets stuck in the paddle when going too fast and hits the right side of the wall (may not do it all the times)
To Reproduce
Steps to reproduce the behavior:
1)make the ball bounce on the paddle
2)hits the right side of the wall
3)hits the paddle again and gets stuck

Expected behavior
should not get stuck and bounce off the paddle instead

Need a menu

Is your feature request related to a problem? Please describe.
It's always annoying to have the game starting on the game page.

Describe the solution you'd like
A menu working, like a home page...

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.