GithubHelp home page GithubHelp logo

altv-slots's Introduction

๐ŸŽฐ alt:V Slots

Preview: https://streamable.com/2o6sa6

Features:

  • Created using Virtual Entities & NetTime.
  • Synced network scenes.
  • Real-time synced slot rotation.
  • Different scenes & sounds for wins and loses.
  • All the slots inside the casino are playable.
  • The money won is actually calculated based on the slot positions and not on some random value. What you see is what you get!
  • Use E to sit at the slot, Space to spin the slots, and Backspace to leave the slot.

Known Problems:

  • Sometimes (most of the time) the player which is playing, will be seen by other players "warping" into his position. I also have no idea what can cause this.

What can be done to improve the code:

  • A lot. Some of the things to be done are to use RMLUI instead of natives, etc.

Information:

  • This is not a drag and drop system. There are still changes that you have to make for this system to work for your server. This is more of a template / idea of how a casino slot system can be created.
  • This was only tested using 2 players.
  • This system was created using: Typescript Boilerplate for alt:V

Running the system:

npm install
npm run update
npm run dev

To close the server use: CTRL + C in the terminal.

Contact:

  • Discord: _dgx

altv-slots's People

Contributors

dgxxxx avatar

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.