steemgg open source development update - 2018.8.18

in #steemgg6 years ago (edited)

Repository

https://github.com/steemgg/steemgg-website

Enhancement

We think the BIG cover images are annoying for some players who come to our site for the first time. We would like to attract our players by the amazing games but not our advertisements.

So we totally remove BIG cover images from front page.

Also we separate games by new categories:
"The Recommended Games"
"The Latest Games"
"Most Popular Games"
"Top Payout Games"

Github Commit:
1641438
254d6c3

image.png

  • Increase the uploading zip size limitation from 10M to 20M

We've received many feedback that the uploading zip size limitation of 10M is a little bit small, especially distributions/outputs of major game engines are more than 10M, so we increase the limitation.

But why just 20M but not more than it? Because we think that BIG size of a web game is not a good idea, players usually lose patience to play such a web game if they have to wait for a long loading time.

Github Commit:
77776e7
bdd589c

image.png

  • Make the footer not sticky

Feedback was given by users, so we accept it and make it happen.

Github Commit:
7a83eec
254d6c3

  • Add 'browse game' link in the header

Much easier for users to find more games.

Github Commit:
6c79c2d

image.png

  • Optimize IPFS loading rules for games' cover images

Loading cover images from steemgg's IPFS server in 12 hours from the creation time/updating time of the game, and loading them from the public CDN of ipfs.io after 12 hours.

Github Commit:
2827939

  • Optimize steemit posts with new template

We add cover image of the game and URL of the game on steemgg.com in posting template.

Github Commit:
5b7c5c1

image.png

New Features

  • Support deleting games by game owner

Yep, game developers may want to delete some rubbish games of their own, so this is the correct magic to use.

Github Commit:
cd9ebcb

image.png

  • Pass steemit username to game through iframe parameters

Game developers can use this parameter through iframe, and put username on the leaderboard in-game.

Actually we have SDK plan to expose more API/Parameters for game developers. So it means game developers could embedded API in-game and use them directly.

Github Commit:
cb21d32

image.png

  • Add API of claiming rewards

Backend expose this API first, the UI can use it.

Github Commit:
bffd985

Bug Fixes

  • Fix decimal precision of earnings

We hate this bug...too.

Github Commit:
c9ef43f

  • Showing user's avatar

We fix it. Finally.

Github Commit:
4b6a18d
7b73e7c

image.png

  • Fix packing zip at different level of root folder

This bug is annoying may game developers. Sometimes it's not easy to explain at which folder to pack the game assets. So we fix it, no matter inside-root-folder or outside-root-folder, both are working then.

Github Commit:
d264056

About Steemgg

Technology Stack

How to run the UI

# get source code
$ git clone https://github.com/steemgg/steemgg-website.git
# cd to the ui folder  
$ cd steemgg-website/ui
# install package dependencies
$ npm install 
# start ui
$ npm run start 

How to run the backend

Using Docker Compose
# get source code
$ git clone https://github.com/steemgg/steemgg-website.git
# enter docker-compose folder
$ cd steemgg-website/docker
# start server
$ docker-compose up -d

How to contribute

  • Github: https://github.com/steemgg/steemgg-website
  • Fork the develop branch (NO master branch, as master branch is ONLY for hot-fixing purpose)
  • Create your feature branch (or bug fix): git checkout -b my-new-feature (or my-bug-fix)
  • Commit your changes: git commit -am 'Add some feature' (or 'fix some bug')
  • Push to the branch: git push origin my-new-feature (or my-bug-fix)
  • Submit a pull request

License

  • MIT
  • YES, it's MIT. So you could use it for Free open source project or Commercial proprietary purpose.
  • We still encourage you to embrace open source, to make our community better.
  • If possible, we still wish you could keep beneficiaries to @steemgg no less than 2% in your project, to support both of us.
    let extensions = [[0, {
        beneficiaries: [
            {
                account: 'steemgg',
                weight: 200
            }
        ]
    }]];

GitHub Account

@steemgg - https://github.com/steemgg
@bizheng - https://github.com/erikzbi
@bonjovis - https://github.com/bonjovis

We're posting as a representative for all the contributions from our core team of steemgg.

Sort:  

Thank you for your contribution, its good to see the website is improving. Bdw just to be clear that according to our guidelines we only take into consideration new features and not bug fixes i.e. "Bug Fixes for contributor’s Own Projects will not be considered for potential reward, unless the Bugs were caused by third party dependencies."

Also for this line as well as some other places https://github.com/steemgg/steemgg-website/commit/2827939ff7ed0124a0388fa586caedb703e3a15d#diff-066ae30720ba6a3d92415204b85bade1R55 wouldn't it be better to read the url from a config file instead of hardcoding.

Your contribution has been evaluated according to Utopian policies and guidelines, as well as a predefined set of questions pertaining to the category.

To view those questions and the relevant answers related to your post, click here.


Need help? Write a ticket on https://support.utopian.io/.
Chat with us on Discord.
[utopian-moderator]

@codingdefined,

Thanks a lot for your review and feedback.

We'll continue improving our website and the code quality, especially what you've mentioned: "wouldn't it be better to read the url from a config file instead of hardcoding."

And also thanks for your clarification of bug fixing is not suitable putting here for project owner, so we will exclude them next time. :)

Cheers.

Thank you for your review, @codingdefined!

So far this week you've reviewed 7 contributions. Keep up the good work!

Congratulations @steemgg! You have completed the following achievement on Steemit and have been rewarded with new badge(s) :

Award for the number of upvotes received

Click on the badge to view your Board of Honor.
If you no longer want to receive notifications, reply to this comment with the word STOP

To support your work, I also upvoted your post!

Do you like SteemitBoard's project? Then Vote for its witness and get one more award!

Hi @steemgg! We are @steem-ua, a new Steem dApp, computing UserAuthority for all accounts on Steem. We are currently in test modus upvoting quality Utopian-io contributions! Nice work!

Hey @steemgg
Thanks for contributing on Utopian.
We’re already looking forward to your next contribution!

Want to chat? Join us on Discord https://discord.gg/h52nFrV.

Vote for Utopian Witness!

Congratulations @steemgg! You have completed the following achievement on Steemit and have been rewarded with new badge(s) :

Award for the number of upvotes

Click on the badge to view your Board of Honor.
If you no longer want to receive notifications, reply to this comment with the word STOP

Do not miss the last post from @steemitboard:
SteemitBoard and the Veterans on Steemit - The First Community Badge.

Do you like SteemitBoard's project? Then Vote for its witness and get one more award!

Coin Marketplace

STEEM 0.18
TRX 0.15
JST 0.028
BTC 63064.93
ETH 2468.39
USDT 1.00
SBD 2.55