Git Product home page Git Product logo

blockchain-dice's People

Contributors

codacy-badger avatar honzakirchner avatar idimev avatar janfilips avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar

blockchain-dice's Issues

ajax to pull html tables on 3 seconds refresh interval

fuck tables you'll make two ajax calls which both returns generated html tables

the result on the ajax call is html not json and we'll display this html on the web as is

/ajax/games/mine requires a parameter player_session_id (I have this generated on the index.html template for you)

decommission tzinfo altogether we do not need it

/usr/local/lib/python3.6/dist-packages/django/db/models/fields/init.py:1423: RuntimeWarning: DateTimeField Bets.created received a naive datetime (2019-01-04 18:49:34.882063) while time zone support is active

footer needs to become footer

There's a footer include at the end of the index.html -

{% include "footer.html" %}

We need this footer to be an actual footer.

motto goes above the button

like so -

screenshot 2018-12-31 at 14 47 50

nebo jeste zvazujem dat to motto pod tabulku - chtelo by to zkusit / videt jak to bude vypadat

tiny tiny detail.......

predefined amounts in list for the +/- on the popup

I want to have a predefined list of numbers that the +/- lists through..

bet_amount = [0.01, 0.05, 0.10, 0.15, 0.25, 0.50, 0.75, 1, ....... max 10] * depending on the player balance

This is also because it takes unnecessarily long to get on say 1.0 bet, this simply needs to be allowed quicker using +/-....

initial loader spinner for the website

we'll put in a fake "ddos protection" loader on when the website when it is first loaded..

it'll look like we're ddos protected (which is expensive)

i'll get you the logo / spinner for this..

wtf random number generator response

AttributeDict({'blockHash': HexBytes('0x0000000000000000000000000000000000000000000000000000000000000000'), 'blockNumber': None, 'from': '0xdc8F20170C0946ACCF9627b3EB1513CFD1c0499f', 'gas': 200000, 'gasPrice': 20000000000, 'hash': HexBytes('0xcf5a36fbbe79195964c3aa68e35c939997bc10c5c2d7bae0c327e1e9c4d74285'), 'input': '0x27dc297e0a37377349322444b2d1f886a8bc692b4d9cf13e978c0e525f757760b826223c00000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000002360a000000000000000000000000000000000000000000000000000000000000', 'nonce': 230784, 'r': HexBytes('0x9c22d11279c39c6c5cb2ae10fbee262ecc928fceec84d8ceff1900e13806cbd7'), 's': HexBytes('0x1d632b71927dda08c6f3a38d073eef09dd7d8a9e180279b6fad03a111be29f33'), 'to': '0x9110C5e8F019783f6B361f704cb436825B708cda', 'transactionIndex': 0, 'v': 27, 'value': 0})
WinningNumber 0xcf5a36fbbe79195964c3aa68e35c939997bc10c5c2d7bae0c327e1e9c4d74285
oracle_query_id 0x0a37377349322444b2d1f886a8bc692b4d9cf13e978c0e525f757760b826223c
player 0xeacd131110FA9241dEe05ccf3e3635D12f629A3b
bet_number [1, 6, 3]
win_number 0
bet_amount 0.5
win_amount 0

wow the win_number we received was 0 wtf?

congratulations you win event

We're adding one more event "Congratulations you win"..
These are all one-off messages and you'll get them on /ajax/notifications call (you'd need to provide the player_session_id on the input .. it's simple, I will talk you through this..

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.