【Hour of code】#002 一小时学编程,玩游戏学习编程序
cn·@hertz300·
0.000 HBD【Hour of code】#002 一小时学编程,玩游戏学习编程序
Hour of code 是一个全年龄都适合的学习编程的项目,由于build-it.io 这个SCOT平台也可以发编程和画画的DIY贴,于时就注册个账号玩一下,学一学编程。 首先我第一个学的是《与安娜和埃尔莎一起编程》:使用代码,与安娜和艾莎一起探索冰雪的魔法和美丽。在冰雪上滑行的同时,制作出雪花和各种图案,打造一座冬季乐园,然后分享给您的朋友们!  今天过到第17关:精細複雜的雪花樣式其實可以用非常簡單的形狀來產生。您可以畫重複五個大小為 5 的圓,以及五個大小為 10 個圓嗎?  - 程序代码: for (var count3 = 0; count3 < 5; count3++) { // create_a_circle for (var count = 0; count < 36; count++) { moveForward((5)); turnRight(10); } // create_a_circle for (var count2 = 0; count2 < 36; count2++) { moveForward((10)); turnRight(10); } turnRight(72); } - 查看程序的动行动画结果:https://studio.code.org/c/618940329
👍 ahua, zzan.co2, kissfirer, ezravandi, accelerator, laissez-faire, htliao, davidke20, also.einstein, cn-zzang, cn-pal, cn-marlians, cn-neoxag, kimzwarch, aellly, archisteem, moneybaby, slientstorm, khairulzaman, cn-sct, cn-gg, cn-lifestyle, brumar, icecoffee, lemon.zzan, ggexplorers, frequency369, sam99, steem.girl, delegate4upvot, hertz.actn, j-car, kymio, decepticons, sct.dean, yysb, sebescen81, laqsking, map10k, angelinafx, deralios, suonghuynh, smartvote, bboyady, cnbuddy, tumutanzi, coldhair, shenchensucc, minloulou, haiyangdeperci, ooairbb, nuagnorab, windenchanter, andrewma, block.pal, hertz300, anonymousman1, xiaoq.sports, mumtazsultana, morningshine, trevormomo, teamcn-sct, liumei, jianan, ericet, hmayak, shine.wong, cherryzz, cn-activity, davidchen, llh0519, robertyan, cheva, sunai, zzan.co16, cn-mot, sct.down, steem-drivers, cn-exchange, maiyude, cn-actnearn, sct.krwp, build-it.curator, team-cn, teamcn, cn-curation, jacktan, wilhb81, liewsc, tanzy, liewps, cn-malaysia, kidsreturn, ybeyond, weitz, abcallen, wanggang, wongmanman, gear.nsnow, olymim, nympheas, zmx, wyp, yumisee, pizzapai, johnsonlai, tydebbie, bunnymandy, myreader, foodiecouple, pgr, zerofive, cnstm, likuang007, darc, cnbuddy-cnstm, vmkoko, starbleu, lizachong, starrouge, light-hearted, mobi72.build, dadidu, hertz.diy, cn-build,