Author [EN] [ZH] [ES] [PT] [IT] [DE] [FR] [NL] [TR] [SR] [AR] [RU] [EN] [ZH] [ES] [PT] [IT] [DE] [FR] [NL] [TR] [SR] [AR] [RU] [EN] [ZH] [ES] [PT] [IT] [DE] [FR] [NL] [TR] [SR] [AR] [RU] Topic: Bitshares Play Status Update  (Read 10384 times)

0 Members and 1 Guest are viewing this topic.

Offline HackFisher

  • Moderator
  • Hero Member
  • *****
  • Posts: 883
    • View Profile
Bitshares Play Status Update
« on: March 27, 2014, 03:10:36 PM »

This week and next 2-3 weeks, I'll be in the middle state of transition, so I'm still not working full time on Lotto, only in spare time and weekend. The situation and condition will be improved thoroughly after 2-3 weeks, then I will be full time on this, I like play  :)

I've started working on play, had discussions, read codes, and did some experiment coding and tests, the code updates can be seen on following fork:
https://github.com/HackFisher/bitshares_toolkit

I've started to draft the design ideas, which could become part of a document or whitepaper later. Be Implementing some combinations utility methods.

Please forgive for my poor English, but if someone wants the Chinese translation of this thread, I could help with that,  :D it's my native language.   Brief summary could be posted on a separate thread.
« Last Edit: August 12, 2014, 12:32:02 AM by HackFisher »
Anything said on these forums does not constitute an intent to create a legal obligation or contract between myself and anyone else.   These are merely my opinions and I reserve the right to change them at any time.

Offline toast

Re: Lotto status update
« Reply #1 on: March 27, 2014, 03:15:05 PM »
I give this guy DNS tips for translating my update thread: https://bitsharestalk.org/index.php?action=profile;u=190
Do not use this post as information for making any important decisions. The only agreements I ever make are informal and non-binding. Take the same precautions as when dealing with a compromised account, scammer, sockpuppet, etc.

Offline HackFisher

  • Moderator
  • Hero Member
  • *****
  • Posts: 883
    • View Profile
Re: Bitshares Lotto status update
« Reply #2 on: April 03, 2014, 06:05:42 AM »
This week, I was focus on coding combination utilities, start to develop the rule layer, and the logic of transaction/block validation. In this process, I have a more in-depth study of the Bitshares toolkit.

The other time are spent on design decisions, about RNG (Random Number Generation), combinatorial number system which forms two layer design, shared chain consideration, genesis allocation etc.
I am very grateful for everyone who has had discussions with me,  review design decisions, helped me think through. Thanks for @麥可貓 's translation and @heyD and @Keyhotee中国's weibo.

Next week I would like to start draft the design document when I am on a short travel, continue thinking through the undetermined designs. Experiment coding on Lotto proto will continue if I have blocks of time.
« Last Edit: April 03, 2014, 06:15:13 AM by HackFisher »
Anything said on these forums does not constitute an intent to create a legal obligation or contract between myself and anyone else.   These are merely my opinions and I reserve the right to change them at any time.

Offline HackFisher

  • Moderator
  • Hero Member
  • *****
  • Posts: 883
    • View Profile
Re: Bitshares Lotto Status Update
« Reply #3 on: April 10, 2014, 01:42:05 PM »
This week I draft a technical design document for Lotto, not complete yet, people who cannot wait can have a quick view from here:

https://dl.dropboxusercontent.com/u/5037011/%E6%88%91%E7%9A%84%E7%AC%94%E8%AE%B0/Bitshares%20Lotto%20Design%20Document.html

Other works involve coding lotto wallet's scan input/output API.

Next, I'm going to start coding the lotto cli, prepare for further work to have a testing client which can be played with.
Anything said on these forums does not constitute an intent to create a legal obligation or contract between myself and anyone else.   These are merely my opinions and I reserve the right to change them at any time.

Offline HackFisher

  • Moderator
  • Hero Member
  • *****
  • Posts: 883
    • View Profile
Re: Bitshares Lotto Status Update
« Reply #4 on: April 10, 2014, 02:09:58 PM »
This week I draft a technical design document for Lotto, not complete yet, people who cannot wait can have a quick view from here:

https://dl.dropboxusercontent.com/u/5037011/%E6%88%91%E7%9A%84%E7%AC%94%E8%AE%B0/Bitshares%20Lotto%20Design%20Document.html

Other works involve coding lotto wallet's scan input/output API.

Next, I'm going to start coding the lotto cli, prepare for further work to have a testing client which can be played with.

I'm migrating the document to google doc, so anyone with the link can comment on it.

https://docs.google.com/document/d/1KkaAnuM0a_YU2yMaeDSDiyNUv96c9TrYrCjKadC01yA/edit?usp=sharing

Edit: Can comment now.
« Last Edit: April 10, 2014, 03:46:11 PM by HackFisher »
Anything said on these forums does not constitute an intent to create a legal obligation or contract between myself and anyone else.   These are merely my opinions and I reserve the right to change them at any time.

Offline HackFisher

  • Moderator
  • Hero Member
  • *****
  • Posts: 883
    • View Profile
Re: Bitshares Lotto Status Update
« Reply #5 on: April 16, 2014, 03:59:37 PM »
« Last Edit: April 16, 2014, 04:08:21 PM by HackFisher »
Anything said on these forums does not constitute an intent to create a legal obligation or contract between myself and anyone else.   These are merely my opinions and I reserve the right to change them at any time.

Offline HackFisher

  • Moderator
  • Hero Member
  • *****
  • Posts: 883
    • View Profile
Re: Bitshares Lotto Status Update
« Reply #6 on: April 17, 2014, 12:08:16 PM »
This week, with the help of bytemaster, I'm pleased to get a brilliant Random Number Generation(RNG) algorithm that could work well with DPOS.

And I was working on Lotto CLI and RNG Implementation, fix some CNS and Rule Layer bugs, start testing client's genesis address customization then I can test using my own address.
The next step would be to continue coding CLI commands and finding a default self-sustain rule for rule layer, prepare for a testable client.

The work of design document is almost finished except the part of Section 8, I'll thinking more on that before draft on it.

And, good news is that the progress is a litter faster than I expected, the bad news is that it may take longer time for me to start full-time than planned, just because of unpredictable transition affairs. I'll start working on Lotto full time at the beginning of May.
« Last Edit: April 17, 2014, 12:09:54 PM by HackFisher »
Anything said on these forums does not constitute an intent to create a legal obligation or contract between myself and anyone else.   These are merely my opinions and I reserve the right to change them at any time.

Offline HackFisher

  • Moderator
  • Hero Member
  • *****
  • Posts: 883
    • View Profile
Re: Bitshares Lotto Status Update
« Reply #7 on: April 24, 2014, 01:01:34 PM »
Last weekend, I worked on jackpot draw related codes, and improved some CLI commands.

Recently, there are large updates from Bitshares toolkits, so I'm spending time to update Lotto codes for catch up with the changes of toolkits. I'll work on rpc and cli next, and follow the upcoming steps of xt.
Anything said on these forums does not constitute an intent to create a legal obligation or contract between myself and anyone else.   These are merely my opinions and I reserve the right to change them at any time.

Offline HackFisher

  • Moderator
  • Hero Member
  • *****
  • Posts: 883
    • View Profile
Anything said on these forums does not constitute an intent to create a legal obligation or contract between myself and anyone else.   These are merely my opinions and I reserve the right to change them at any time.

Offline HackFisher

  • Moderator
  • Hero Member
  • *****
  • Posts: 883
    • View Profile
Re: Bitshares Lotto Status Update
« Reply #9 on: May 01, 2014, 03:01:04 PM »
This week, I was working on clean code, unit tests, sync code with toolkit and list the todo/issues which I'll handle one by one next.

The main changes is as following:
1. Secret field was moved from block header to be as a claim_secret transaction, which should be generated by DPOS delegate.
2. Add claim_jackpot output with a mature_days field. Once large jackpot are drawn, it will be divided to several jackpots with different mature_days.
claim_jackpot outputs can only be used by the owner after mature days since that.
3. The jackpot draw transaction is not generated by ticket owner anymore, these transactions are as deterministic transactions now.

Next, I'll work full-time, so more updates will come more frequently :D
« Last Edit: May 02, 2014, 03:39:43 PM by HackFisher »
Anything said on these forums does not constitute an intent to create a legal obligation or contract between myself and anyone else.   These are merely my opinions and I reserve the right to change them at any time.

Offline HackFisher

  • Moderator
  • Hero Member
  • *****
  • Posts: 883
    • View Profile
Re: Bitshares Lotto Status Update
« Reply #10 on: May 05, 2014, 03:17:00 PM »
Finished several basic test cases including buy ticket, generate 100 more blocks, automatic generate winners, draw and list jackpots etc, fix bugs.

Moved rule specific codes to one place, abstract a rule class to representing the things of rule layer.

Current working on finding out a default rule for testing and demonstrate, considering to deliver a gaming dac first rather than a platform supporting multi rule. The later seems to be achievable but need more effort and time.

Here is another rule different with classic two color ball lottery, I'm open for ideas about how to make the rule's user interface more funny and easy to understand.
https://bitsharestalk.org/index.php?topic=4502.0

Next in this month, I'll focus on following things.
1. a testable version with a rule to play, add more test cases and pretty CLI.
2. clean code
3. document
Anything said on these forums does not constitute an intent to create a legal obligation or contract between myself and anyone else.   These are merely my opinions and I reserve the right to change them at any time.

Offline HackFisher

  • Moderator
  • Hero Member
  • *****
  • Posts: 883
    • View Profile
Re: Bitshares Lotto Status Update
« Reply #11 on: May 11, 2014, 03:03:05 PM »
quick update:

Got to run a lotto client as trustee, and fake as delegates to claim secrets, then generate blocks and random numbers, with that we can go to CLI/UI testing and development.

Implemented two other rules in addition to lottery rule, so there are three rules on hand now, dice rule, betting rule, and lottery rule.Refer
https://bitsharestalk.org/index.php?topic=4505.0
https://bitsharestalk.org/index.php?topic=4502.0

Economic/business model is the next thing I need to address, choose one rule as only and default rule is feasible, but I'm still considering the possibility to release multiple rules. For lotto, I do not like too many rule assets except we can found a way for them to competing and pegging (like sidechain features).

Large update from toolkit will come in next week, so some efforts might need to be taken for integration.

« Last Edit: May 11, 2014, 03:15:12 PM by HackFisher »
Anything said on these forums does not constitute an intent to create a legal obligation or contract between myself and anyone else.   These are merely my opinions and I reserve the right to change them at any time.

Offline HackFisher

  • Moderator
  • Hero Member
  • *****
  • Posts: 883
    • View Profile
Re: Bitshares Lotto Status Update
« Reply #12 on: May 21, 2014, 07:14:16 AM »
I was integrating new toolkit APIs with Lotto, but since there are large updates to toolkit, and the API extension points is not ready yet , needing refactor. Consensus have been reached that I'll suspend my work on Lotto for a while and I'll starting work on toolkit in short term, then continue move to Lotto DAC-specific technology, then onto Lotto supporting whoever builds the user/web interface, etc.

In short, I'm coding on Bitshares toolkit codes recently and help what I can do( todo issues and fix bugs).

Here is to update the status in case anyone curious about the recent status.
« Last Edit: May 21, 2014, 07:16:18 AM by HackFisher »
Anything said on these forums does not constitute an intent to create a legal obligation or contract between myself and anyone else.   These are merely my opinions and I reserve the right to change them at any time.

Offline HackFisher

  • Moderator
  • Hero Member
  • *****
  • Posts: 883
    • View Profile
Re: Bitshares Lotto Status Update
« Reply #13 on: June 18, 2014, 06:12:41 AM »
Just to keep this thread updated and from being dead, here to add some updates

I've been in VA for about 2 weeks, and currently helping on toolkit and XT wallet. People are nice here and everything is OK except that I realized two huge gap I need to fill, the skills of computer science and spoken English.
I think I'll keep talking utils peoples and friends of America tied and being enough of me.

Regarding the next steps of Lotto, with the newest support of bitshares toolkit, it could be very easy to develop a lottery DAC, which we can expect in short term after bitshares xt launched. But for the long term, I still wondering what we can do to add value and think different.

The latest approach which deserved to mention, would be some ideas described in rule code on chain thread:
https://bitsharestalk.org/index.php?topic=5085.0

I like this idea and I think I will look more close to the details of it.
« Last Edit: June 18, 2014, 06:15:22 AM by HackFisher »
Anything said on these forums does not constitute an intent to create a legal obligation or contract between myself and anyone else.   These are merely my opinions and I reserve the right to change them at any time.

Offline HackFisher

  • Moderator
  • Hero Member
  • *****
  • Posts: 883
    • View Profile
Re: Bitshares Lotto Status Update
« Reply #14 on: August 02, 2014, 05:53:54 AM »
Some update:

I'll start develop a Dice DAC which is based on one rule of Bitshares Lotto (dice rule) in the left time of August.

Details please take look at:
https://bitsharestalk.org/index.php?topic=4505.0

I guess that would be a fork of the bitshares_toolkit. It will follow the AGS/PTS social contract, so if possible, I would like to call it Bitshares Dice.

For Bitshares Lotto, some key parts of the framework are not ready to go, so I choose to implement a Rule DAC first without those parts.
Anything said on these forums does not constitute an intent to create a legal obligation or contract between myself and anyone else.   These are merely my opinions and I reserve the right to change them at any time.

 

Google+