Coder Social home page Coder Social logo

roulette's Introduction

Marble roulette

This is a lucky draw by dropping marbles.

Demo

ChangeLogs

  • 2024-02-14:
    • Add a map selector.
  • 2024-01-18:
    • A new map has added.
  • 2023-11-24:
    • Force move the marble randomly if it stays still over 1 second.
  • 2023-10-08:
    • Save names in the local storage automatically.
  • 2023-09-23:
    • You can move the viewport by dragging your cursor on the minimap.
  • 2023-09-22:
    • Add a button that sets the last one to the winner.
  • 2023-08-02:
    • Now the names will not cover the whole screen if there are many. You can scroll the names with your mouse wheel.
  • 2023-07-29:
    • Adjusted the map to prevent a marble stays too long in a specific place.
  • 2023-07-21:
    • Improve the performance when there are too many marbles in the game.
  • 2023-07-21:
    • Fix the issue the slow-motion seems flickering
    • End the game immediately if only one marble survives and the winning rank is the last.
  • 2023-07-16:
    • Now you can adjust the game speed.
  • 2023-05-29:
    • Now you can shake the game if the marbles are being stuck for more than 3 seconds.

Requirements

  • Typescript
  • Parcel
  • Planck.js

Development

> yarn
> yarn dev

Build

> yarn build

roulette's People

Contributors

lazygyu avatar dependabot[bot] avatar e2goon 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.