Giter VIP home page Giter VIP logo

remember-brave-people's Introduction

简体中文

勇士挑战:人过留名,雁过留声

这是一个教学,旨在帮助你学习创建GitHub的pull request,这是向世界上任何开源项目贡献代码的第一步。

太长不看的描述

  • 修改heroes.json,在里面加入你的GitHub用户ID (不是你自己的名字),坐标和喜欢的颜色,然后创建一个pull request。 点击这里查看详细步骤。
  • 回到字节传说,然后查看(V, 92)游戏坐标处的公告牌。

Brave people challenge - leave your name!

This is inspired by https://open-pixel-art.com/. This is a part of ByteLegend, a game to learn programming.

This challenge is intended to teach you how to create a pull request.

TL;DR

  • Change heroes.json, add your GitHub ID (NOT your name), coordinate and favorite color, then create a pull request.
  • Go back to ByteLegend and check out the noticeboard at (V, 92) game coordinate.

Instructions

Check out here for detailed instructions.

Implementation details (Don't read this unless you want to understand how this repository works)

There are 3 GitHub jobs:

  • remember-brave-people: triggered upon PR with changes on heroes.json.
    • If there are changes other than heroes.json, cancel the workflow.
    • Otherwise, do sanityCheck, make sure the player only change allowed part.
    • Generate the new image and JSON at build/brave-people.png/build/brave-people-output.json
    • Move build/brave-people.png to root directory, commit and push.
    • Push build/brave-people.png/build/brave-people-output.json to CDN so the player can see it in the game.
    • Merge current branch to main.
  • check: triggered upon PR with changes other than heroes.json.
    • Run test to make sure nothing is broken.
    • Wait for administrator review and merge the PR.
  • refresh-data-daily: for better performance, remember-brave-people only writes the modified tile, not all. This job runs per day to refresh the data.

remember-brave-people's People

Contributors

bytelegendbot avatar blindpirate avatar nangua-007 avatar lamentwy avatar lxy96scorpion avatar xu-fan avatar stormchen94 avatar narutobing avatar hah1346798520 avatar camiao avatar fake-zyk avatar firepond avatar ggymm avatar hrbattery avatar kaifanlezz avatar kerwin-cn avatar shiliyu avatar slyang520 avatar sybarite1 avatar wangjie-fourth avatar daydreaming666 avatar alvinvinvinvin avatar ayispace avatar lbr77 avatar fbicirno avatar ggggght avatar gakiii avatar helianthuswhite avatar reallez avatar yugen-sysu 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.