create account

steemgg open source development update - 2018.8.18 by steemgg

View this thread on: hive.blogpeakd.comecency.com
· @steemgg · (edited)
$42.71
steemgg open source development update - 2018.8.18
### Repository

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


### Enhancement

* Improve front page of https://steemgg.com

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](https://github.com/steemgg/steemgg-website/commit/164143805cd2d14b08a879710df5bf52ffb6498d)
[254d6c3](https://github.com/steemgg/steemgg-website/commit/254d6c3c260c76d191dc387a867823844e8fd485)

![image.png](https://ipfs.busy.org/ipfs/QmakqS3AfUKxqwfmmJjaDNL1fZYndCQZY6BZ9QWM6xWf6H)

* 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](https://github.com/steemgg/steemgg-website/commit/77776e7884967189ee5b36bd175948414533ddf0) 
[bdd589c](https://github.com/steemgg/steemgg-website/commit/bdd589c6bc0b3c5b7ca80472c7da92aa48e547c0)

![image.png](https://ipfs.busy.org/ipfs/QmZSfHVyFNEMXR3CpEgTxV7ERzjViN7XGKfVr5jnqtVkh9)

* Make the footer not sticky

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

Github Commit:
[7a83eec](https://github.com/steemgg/steemgg-website/commit/7a83eec9aba68b86fbe9d200a50a5ca1317cc580)
[254d6c3](https://github.com/steemgg/steemgg-website/commit/254d6c3c260c76d191dc387a867823844e8fd485)

* Add 'browse game' link in the header

Much easier for users to find more games.

Github Commit:
[6c79c2d](https://github.com/steemgg/steemgg-website/commit/6c79c2df380fe20b2bd9607af0be2da3c31c519c)

![image.png](https://ipfs.busy.org/ipfs/QmScwSWa77zLXXv38d5wYV96p7QLh1hkSacjCDNsuobhFA)

* 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](https://github.com/steemgg/steemgg-website/commit/2827939ff7ed0124a0388fa586caedb703e3a15d)

* 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](https://github.com/steemgg/steemgg-website/commit/5b7c5c171894944cccadd747cce5ccb5428f0e42)

![image.png](https://ipfs.busy.org/ipfs/QmVbFLWamoNeyoiNUbG9tcJVnZ2Py9uRU6T1oBggScvuh5)

### 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](https://github.com/steemgg/steemgg-website/commit/cd9ebcbd643494c820629c104ce70673425f2cb9)

![image.png](https://ipfs.busy.org/ipfs/QmUvbLNf7B5FjZ2iRH9qrR2i1oDsXY87WChMq9coZWLZpq)

* 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](https://github.com/steemgg/steemgg-website/commit/cb21d32ef05b0986b86f613b5906b5c41c6bac8d)

![image.png](https://ipfs.busy.org/ipfs/QmUF7NnJZ3fb96Zup38ziFziDT2qj7UrsynoRWh2ZGWw31)

* Add API of claiming rewards

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

Github Commit:
[bffd985](https://github.com/steemgg/steemgg-website/commit/bffd9855dc4162bd4772f716337da2a2209e814c)


### Bug Fixes

* Fix decimal precision of earnings

We hate this bug...too.

Github Commit:
[c9ef43f](https://github.com/steemgg/steemgg-website/commit/c9ef43f5b16a4bbe394e760749dcbe31ebc4aa5a)

![](https://user-images.githubusercontent.com/195643/44148709-c2942af8-a0dc-11e8-9884-584da4d00d06.png)

* Showing user's avatar 

We fix it. Finally.

Github Commit:
[4b6a18d](https://github.com/steemgg/steemgg-website/commit/4b6a18df7e144ddce8c763893ad89b5457f204ac)
[7b73e7c](https://github.com/steemgg/steemgg-website/commit/7b73e7c6a3610a104665aca0d4342da6053a1c27)

![image.png](https://ipfs.busy.org/ipfs/Qmbi6MhiHZYZa3x7byv8NGNWAUU636dFw8w7GSQDhqHyb2)

* 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](https://github.com/steemgg/steemgg-website/commit/d2640569dac3d7a0694dc29b842db66466e72960)

### About Steemgg

#### Technology Stack

* Programming Language: [Javascript](https://en.wikipedia.org/wiki/JavaScript)
* Backend: [Node.js](https://nodejs.org)
* Frontend: [Vue.js](https://vuejs.org)
* Database: [Redis](https://redis.io)/[MySQL](https://www.mysql.com)
* Blockchain: [STEEM](https://steem.io)
* CDN: [IPFS](https://ipfs.io)

#### How to run the UI
```bash
# 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 
```
* Visit http://localhost:8080 or http://127.0.0.1:8080

#### How to run the backend

##### Using Docker Compose

* Pre-requisite: Install and set up [docker](https://docs.docker.com/engine/installation/) and [docker-compose](https://docs.docker.com/compose/install/) on your machine.

```bash
# 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
```
* Visit http://localhost/api/v1/game or http://127.0.0.1/api/v1/game

#### 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](https://steemit.com/@steemgg) no less than 2% in your project, to support both of us.
```javascript
    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.
👍  , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , and 180 others
properties (23)
authorsteemgg
permlinksteemgg-open-source-development-update-2018-8-18
categorysteemgg
json_metadata{"tags":["steemgg","utopian-io","development","steemit","steem"],"users":["steemgg","bizheng","bonjovis"],"image":["https://ipfs.busy.org/ipfs/QmakqS3AfUKxqwfmmJjaDNL1fZYndCQZY6BZ9QWM6xWf6H","https://ipfs.busy.org/ipfs/QmZSfHVyFNEMXR3CpEgTxV7ERzjViN7XGKfVr5jnqtVkh9","https://ipfs.busy.org/ipfs/QmScwSWa77zLXXv38d5wYV96p7QLh1hkSacjCDNsuobhFA","https://ipfs.busy.org/ipfs/QmVbFLWamoNeyoiNUbG9tcJVnZ2Py9uRU6T1oBggScvuh5","https://ipfs.busy.org/ipfs/QmUvbLNf7B5FjZ2iRH9qrR2i1oDsXY87WChMq9coZWLZpq","https://ipfs.busy.org/ipfs/QmUF7NnJZ3fb96Zup38ziFziDT2qj7UrsynoRWh2ZGWw31","https://user-images.githubusercontent.com/195643/44148709-c2942af8-a0dc-11e8-9884-584da4d00d06.png","https://ipfs.busy.org/ipfs/Qmbi6MhiHZYZa3x7byv8NGNWAUU636dFw8w7GSQDhqHyb2"],"links":["https://github.com/steemgg/steemgg-website","https://steemgg.com","https://github.com/steemgg/steemgg-website/commit/164143805cd2d14b08a879710df5bf52ffb6498d","https://github.com/steemgg/steemgg-website/commit/254d6c3c260c76d191dc387a867823844e8fd485","https://github.com/steemgg/steemgg-website/commit/77776e7884967189ee5b36bd175948414533ddf0","https://github.com/steemgg/steemgg-website/commit/bdd589c6bc0b3c5b7ca80472c7da92aa48e547c0","https://github.com/steemgg/steemgg-website/commit/7a83eec9aba68b86fbe9d200a50a5ca1317cc580","https://github.com/steemgg/steemgg-website/commit/6c79c2df380fe20b2bd9607af0be2da3c31c519c","https://github.com/steemgg/steemgg-website/commit/2827939ff7ed0124a0388fa586caedb703e3a15d","https://github.com/steemgg/steemgg-website/commit/5b7c5c171894944cccadd747cce5ccb5428f0e42","https://github.com/steemgg/steemgg-website/commit/cd9ebcbd643494c820629c104ce70673425f2cb9","https://github.com/steemgg/steemgg-website/commit/cb21d32ef05b0986b86f613b5906b5c41c6bac8d","https://github.com/steemgg/steemgg-website/commit/bffd9855dc4162bd4772f716337da2a2209e814c","https://github.com/steemgg/steemgg-website/commit/c9ef43f5b16a4bbe394e760749dcbe31ebc4aa5a","https://github.com/steemgg/steemgg-website/commit/4b6a18df7e144ddce8c763893ad89b5457f204ac","https://github.com/steemgg/steemgg-website/commit/7b73e7c6a3610a104665aca0d4342da6053a1c27","https://github.com/steemgg/steemgg-website/commit/d2640569dac3d7a0694dc29b842db66466e72960","https://en.wikipedia.org/wiki/JavaScript","https://nodejs.org","https://vuejs.org","https://redis.io","https://www.mysql.com","https://steem.io","https://ipfs.io","http://localhost:8080","http://127.0.0.1:8080","https://docs.docker.com/engine/installation/","https://docs.docker.com/compose/install/","http://localhost/api/v1/game","http://127.0.0.1/api/v1/game","https://steemit.com/@steemgg","https://github.com/steemgg","https://github.com/erikzbi","https://github.com/bonjovis"],"app":"steemit/0.1","format":"markdown"}
created2018-08-18 12:22:45
last_update2018-08-18 13:23:18
depth0
children7
last_payout2018-08-25 12:22:45
cashout_time1969-12-31 23:59:59
total_payout_value32.770 HBD
curator_payout_value9.937 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length7,342
author_reputation14,473,317,256,440
root_title"steemgg open source development update - 2018.8.18"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id68,596,041
net_rshares32,052,722,237,407
author_curate_reward""
vote details (244)
@codingdefined ·
$10.58
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](https://join.utopian.io/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](https://review.utopian.io/result/3/2322223).

---- 
Need help? Write a ticket on https://support.utopian.io/. 
Chat with us on [Discord](https://discord.gg/uTyJkNm). 
[[utopian-moderator]](https://join.utopian.io/)
👍  , , , ,
properties (23)
authorcodingdefined
permlinkre-steemgg-steemgg-open-source-development-update-2018-8-18-20180819t110420964z
categorysteemgg
json_metadata{"tags":["steemgg"],"links":["https://github.com/steemgg/steemgg-website/commit/2827939ff7ed0124a0388fa586caedb703e3a15d#diff-066ae30720ba6a3d92415204b85bade1R55","https://join.utopian.io/guidelines","https://review.utopian.io/result/3/2322223","https://support.utopian.io/","https://discord.gg/uTyJkNm","https://join.utopian.io/"],"app":"steemit/0.1"}
created2018-08-19 11:04:21
last_update2018-08-19 11:04:21
depth1
children2
last_payout2018-08-26 11:04:21
cashout_time1969-12-31 23:59:59
total_payout_value7.969 HBD
curator_payout_value2.612 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length1,095
author_reputation526,027,733,820,113
root_title"steemgg open source development update - 2018.8.18"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id68,687,124
net_rshares7,907,151,143,662
author_curate_reward""
vote details (5)
@steemgg ·
@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.
properties (22)
authorsteemgg
permlinkre-codingdefined-re-steemgg-steemgg-open-source-development-update-2018-8-18-20180819t113543893z
categorysteemgg
json_metadata{"tags":["steemgg"],"users":["codingdefined"],"app":"steemit/0.1"}
created2018-08-19 11:35:45
last_update2018-08-19 11:35:45
depth2
children0
last_payout2018-08-26 11:35:45
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length385
author_reputation14,473,317,256,440
root_title"steemgg open source development update - 2018.8.18"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id68,689,363
net_rshares0
@utopian-io ·
Thank you for your review, @codingdefined!

So far this week you've reviewed 7 contributions. Keep up the good work!
properties (22)
authorutopian-io
permlinkre-re-steemgg-steemgg-open-source-development-update-2018-8-18-20180819t110420964z-20180821t113009z
categorysteemgg
json_metadata"{"app": "beem/0.19.42"}"
created2018-08-21 11:30:09
last_update2018-08-21 11:30:09
depth2
children0
last_payout2018-08-28 11:30:09
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length116
author_reputation152,955,367,999,756
root_title"steemgg open source development update - 2018.8.18"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id68,903,960
net_rshares0
@steem-ua ·
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!
properties (22)
authorsteem-ua
permlinkre-steemgg-open-source-development-update-2018-8-18-20180819t111344z
categorysteemgg
json_metadata"{"app": "beem/0.19.54"}"
created2018-08-19 11:13:45
last_update2018-08-19 11:13:45
depth1
children0
last_payout2018-08-26 11:13:45
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length184
author_reputation23,214,230,978,060
root_title"steemgg open source development update - 2018.8.18"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id68,687,779
net_rshares0
@steemitboard ·
Congratulations @steemgg! You have completed the following achievement on Steemit and have been rewarded with new badge(s) :

[![](https://steemitimages.com/70x80/http://steemitboard.com/notifications/voted.png)](http://steemitboard.com/@steemgg) Award for the number of upvotes received

<sub>_Click on the badge to view your Board of Honor._</sub>
<sub>_If you no longer want to receive notifications, reply to this comment with the word_ `STOP`</sub>


To support your work, I also upvoted your post!


> Do you like [SteemitBoard's project](https://steemit.com/@steemitboard)? Then **[Vote for its witness](https://v2.steemconnect.com/sign/account-witness-vote?witness=steemitboard&approve=1)** and **get one more award**!
properties (22)
authorsteemitboard
permlinksteemitboard-notify-steemgg-20180818t214730000z
categorysteemgg
json_metadata{"image":["https://steemitboard.com/img/notify.png"]}
created2018-08-18 21:47:30
last_update2018-08-18 21:47:30
depth1
children0
last_payout2018-08-25 21:47:30
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length726
author_reputation38,975,615,169,260
root_title"steemgg open source development update - 2018.8.18"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id68,639,254
net_rshares0
@steemitboard ·
Congratulations @steemgg! You have completed the following achievement on Steemit and have been rewarded with new badge(s) :

[![](https://steemitimages.com/70x80/http://steemitboard.com/notifications/votes.png)](http://steemitboard.com/@steemgg) Award for the number of upvotes

<sub>_Click on the badge to view your Board of Honor._</sub>
<sub>_If you no longer want to receive notifications, reply to this comment with the word_ `STOP`</sub>



**Do not miss the last post from @steemitboard:**
[SteemitBoard and the Veterans on Steemit - The First Community Badge.](https://steemit.com/veterans/@steemitboard/steemitboard-and-the-veterans-on-steemit-the-first-community-badge)

> Do you like [SteemitBoard's project](https://steemit.com/@steemitboard)? Then **[Vote for its witness](https://v2.steemconnect.com/sign/account-witness-vote?witness=steemitboard&approve=1)** and **get one more award**!
properties (22)
authorsteemitboard
permlinksteemitboard-notify-steemgg-20180823t173926000z
categorysteemgg
json_metadata{"image":["https://steemitboard.com/img/notify.png"]}
created2018-08-23 17:39:24
last_update2018-08-23 17:39:24
depth1
children0
last_payout2018-08-30 17:39:24
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length902
author_reputation38,975,615,169,260
root_title"steemgg open source development update - 2018.8.18"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id69,146,450
net_rshares0
@utopian-io ·
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.**

<a href='https://v2.steemconnect.com/sign/account-witness-vote?witness=utopian-io&approve=1'>Vote for Utopian Witness!</a>
properties (22)
authorutopian-io
permlinkre-steemgg-open-source-development-update-2018-8-18-20180820t092534z
categorysteemgg
json_metadata"{"app": "beem/0.19.42"}"
created2018-08-20 09:25:36
last_update2018-08-20 09:25:36
depth1
children0
last_payout2018-08-27 09:25:36
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length300
author_reputation152,955,367,999,756
root_title"steemgg open source development update - 2018.8.18"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id68,784,782
net_rshares0