Drag to look around拖动可以转动花园
Certificate证书
Bit Programmer比特程序员
Take a screenshot to keep it.截个图就能留作纪念。
Pick a tile, then tap a square先选地块,再点格子
What you told Bit你给比特的指令
Your code你的代码
Tap a row, then add cards先点一行,再放卡片
For grown-ups: what each chapter teaches写给大人:每一章教什么
- 1 · Instructions: Bit does exactly what it is told, one tap at a time. Let children water the grass on purpose and laugh at the result.
- 2 · Plan a path: the whole program is planned first, then run. Ask “Where will Bit stop?” before pressing Run.
- 3 · Bug hunt: each level starts with a broken program. The red card shows where it went wrong. Praise calm checking, one card at a time.
- 4 · Repeat (loops): a card limit makes the Repeat card necessary. Ask “What keeps happening again?”
- 5 · Buttons (events): each row waits for its button. When the button is pressed, Bit runs that row. Children make their own controls.
- 6 · If: puddles move every run, so only a program that checks with If works every time. The level needs two wins in a row.
- 7 · Build a garden: children design their own level, then program it. Their garden is saved in this browser.
- 8 · Show and tell: their garden plays as a show and ends with a certificate. Invite family to watch and give “two stars and a wish”.
- Part 2 · Real code (age 8+): chapter 9 turns each card into a real line of Python-style code, like
right(). Chapter 10 is typing and fixing code. Chapter 11 addsforloops and indentation, with a line limit. Chapter 12 addsif/elseanddeffor making your own command. Error messages name the line and say how to fix it.
- 1 · 指令:比特一次只做一件事,完全照着做。可以让孩子故意在草地上浇水,看着结果一起笑。
- 2 · 规划路线:先把整段程序规划好,再运行。按“运行”之前问问:“比特会停在哪里?”
- 3 · 抓虫子:每一关都从一段有错误的程序开始。红色卡片标出出错的位置。表扬孩子冷静地一张一张检查。
- 4 · 重复(循环):卡片数量有限,必须用“重复”卡片。问问:“什么一直在重复?”
- 5 · 按钮(事件):每一行都在等自己的按钮。按下按钮,比特就做那一行的事。孩子在做自己的控制按钮。
- 6 · 如果:每次运行水坑都会换位置,只有用“如果”检查的程序才能每次成功。这一关要连续成功两次。
- 7 · 造花园:孩子自己设计关卡,再给它写程序。花园会保存在这个浏览器里。
- 8 · 展示:孩子的花园会像表演一样播放,最后颁发证书。请家人来看,并送上“两颗星和一个愿望”。
- 第二部分 · 真正的代码(8 岁以上):第 9 章把每张卡片变成一行真正的 Python 风格代码,比如
right()。第 10 章练习打代码和改错。第 11 章学习for循环和缩进,并限制行数。第 12 章学习if/else,以及用def做自己的命令。出错时会指出是哪一行,并说明怎么改。