GithubHelp home page GithubHelp logo

norkator / poker-pocket-backend Goto Github PK

View Code? Open in Web Editor NEW
25.0 25.0 17.0 442 KB

Nitramite Poker Pocket light weight NodeJS poker game backend

Home Page: https://pokerpocket.nitramite.com

License: MIT License

JavaScript 99.62% Dockerfile 0.38%
backend database games holdem poker-pocket-backend poker-server texas-holdem web-socket

poker-pocket-backend's People

Contributors

dependabot[bot] avatar linus2code avatar norkator avatar shrpne avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

poker-pocket-backend's Issues

Out of range error

-------- Results : Room 3 --------
--------ROUND RESULT-----------
internal/buffer.js:82
throw new ERR_OUT_OF_RANGE(type || 'offset',
^
RangeError [ERR_OUT_OF_RANGE]: The value of "offset" is out of range. It must be >= 0 and <= 8305. Received 7_480_365_372
at boundsError (internal/buffer.js:82:9)
at Buffer.readUInt32LE (internal/buffer.js:216:5)
at Object.evalCard (/home/ubuntu/poker-pocket-backend/src/app/evaluator.js:111:23)
at Object.eval (/home/ubuntu/poker-pocket-backend/src/app/evaluator.js:95:16)
at Object.evalHand (/home/ubuntu/poker-pocket-backend/src/app/evaluator.js:89:17)
at Room.evaluatePlayerCards (/home/ubuntu/poker-pocket-backend/src/app/room.js:1194:26)
at Room.roundResultsEnd (/home/ubuntu/poker-pocket-backend/src/app/room.js:467:28)
at Room.staging (/home/ubuntu/poker-pocket-backend/src/app/room.js:301:12)
at Timeout._onTimeout (/home/ubuntu/poker-pocket-backend/src/app/room.js:444:11)
at listOnTimeout (internal/timers.js:554:17) {
code: 'ERR_OUT_OF_RANGE'
}
[nodemon] app crashed - waiting for file changes before starting...


This happens after sending all cards to all players

Further developments

Good afternoon, will there be any further developments? Refactoring? Improvements?

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.