GithubHelp home page GithubHelp logo

kayooliveira / plinko-game Goto Github PK

View Code? Open in Web Editor NEW
42.0 1.0 28.0 220 KB

This game is a version of the game Plinko, here, you start with 100PPs (plinko points) and you can bet your points to earn more based on the multipliers in the bottom of game.

Home Page: https://www.plinko.kayooliveira.com

HTML 1.15% JavaScript 0.79% TypeScript 97.76% CSS 0.30%
matter-js physics plinko react reduxjs tailwind typescript

plinko-game's Introduction

Plinko

## What is this game? > This game is a version of the game Plinko, here, you start with 100PPs (plinko points) and you can bet your points to earn more based on the multipliers in the bottom of game.

How to play?

Just access the link, select your bet value and click on 'Apostar', or, if you don't want to lose your points, just click directly on 'Apostar' button and the game will put a new ball without value in game.

Stacks

  • React
  • Typescript
  • TailwindCSS (Styles)
  • Matter-JS (Physics engine)
  • Zustand (Manage the states)

Made with ๐Ÿ’• by Kayo Oliveira

plinko-game's People

Contributors

kayooliveira 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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

plinko-game's Issues

Failed to load module script.

I've setup an env to run this app locally + via Firebase, but when running on either, the following error is thrown when navigating to index.html via a browser.

"Failed to load module script: Expected a JavaScript module script but the server responded with a MIME type of "false". Strict MIME type checking is enforced for module scripts per HTML spec."

Any idea how to remedy this?

Question

How does the ball know which hole to go in, and how does it ensure that it actually goes into it? I presume the result is set before the ball falls through one of the pins below correct? Was looking through the code but wasn't able to figure it out. If you could point me to where this is being handled, would be much appreciated.

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.