{"action":"created","comment":{"url":"https://api.github.com/repos/tinyclub/elinux/pulls/comments/34443692","id":34443692,"diff_hunk":"@@ -1,180 +1,133 @@\n > From: [eLinux.org](http://eLinux.org/Beginning_Programming \"http://eLinux.org/Beginning_Programming\")\n \n \n-# Beginning Programming\n+# 编程入门\n \n+这个页面的目的是为了帮助初学者开始学习编程。最后，我还提供了编程相关的一系列的步骤，练习和教程来帮助任何想学习软件开发或者游戏开发的朋友。\n \n \n-This page is intended to help beginners get started with learning\n-programming. Eventually, I'd like to provide a whole series of steps,\n-exercises and tutorials about programming, to help anyone who would like\n-to get involved with software development or game development.\n+## 目录\n \n-## Contents\n-\n--   [1 Programming toolkits](#programming-toolkits)\n--   [2 Online resources](#online-resources)\n--   [3 Programming checklist](#programming-checklist)\n-    -   [3.1 The very basics](#the-very-basics)\n--   [4 Languages](#languages)\n-    -   [4.1 Web Programming](#web-programming)\n+-   [1 编程工具箱](#programming-toolkits)\n+-   [2 在线资源](#online-resources)\n+-   [3 编程学习列表](#programming-checklist)\n+    -   [3.1 基础知识](#the-very-basics)\n+-   [4 编程语言](#languages)\n+    -   [4.1 Web开发](#web-programming)\n         -   [4.1.1 HTML](#html)\n     -   [4.2 Scratch](#scratch)\n     -   [4.3 Javascript](#javascript)\n-        -   [4.3.1 Javascript resources](#javascript-resources)\n+        -   [4.3.1 Javascript资源](#javascript-resources)\n     -   [4.4 Python (with PyGame)](#python-with-pygame)\n     -   [4.5 C](#c)\n \n-## Programming toolkits\n+## 编程工具箱\n \n--   scratch - This is a beginning programming toolkit produced by MIT.\n-    This has numerous examples and tutorials, and is highly recommended\n-    as an excellent starting place for beginning programmers.\n-    -   Free download available from:\n+-   scratch - 这是由MIT开发的一个编程入门工具箱。这个工具箱包含了许多例子和教程。这是编程初学者非常好的一个学习地方。\n+    -   免费下载列表:\n         [http://scratch.mit.edu/](http://scratch.mit.edu/)\n     -   [http://www.youtube.com/watch?v=pkhjX792yVI](http://www.youtube.com/watch?v=pkhjX792yVI)\n-        - a good starter tutorial on scratch\n-    -   [Scratch Getting Started\n-        Guide](http://info.scratch.mit.edu/sites/infoscratch.media.mit.edu/files/file/ScratchGettingStartedv14.pdf)\n-    -   SNAP is scratch implemented in javascript -\n+        - 一个开始学习scratch非常好的教程。\n+    -   [Scratch入门指南](http://info.scratch.mit.edu/sites/infoscratch.media.mit.edu/files/file/ScratchGettingStartedv14.pdf)\n+    -   SNAP是scratch的javascritp实现-\n         [http://snap.berkeley.edu/](http://snap.berkeley.edu/)\n \n--   Kahn Academy - Excellent online introductory course for computer\n-    science and programming, using interactive javascript\n+\n+-  Kahn Academy - 计算机科学和编程方面非常棒的在线教程，该教程使javascritp交互语。\n     -   [Computer Science tutorials and\n-        videos](https://www.khanacademy.org/cs) - Start by clicking on\n-        the Introductory Video.\n-    -   Note that the bottom area of the screen is a tabbed dialog with\n-        different areas:\n+        videos](https://www.khanacademy.org/cs) - 点击开始观看介绍视频。\n+    -   注意屏幕上的按钮区域是一个选择不同区域的分页对话框。\n \n-\"Questions Tips & Feedback Spin-Offs Documentation\". \"Spin-Offs\" has\n-sample programs related to the tutorial, video or program you're looking\n-at, and \"Documentation\" has description of different functions or\n-statements you can use in your programs.\n \n-## Online resources\n+\"Questions Tips & Feedback Spin-Offs Documentation\". \"Spin-Offs\"页面有编程相关的简单教程，视频或者你需要查找的程序，\"Documentation\"有你程序中使用的不同函数或者程序段的描述信息。\n \n--   [http://www.codeacademy.com/](http://www.codeacademy.com/) - this\n-    site has good starting tutorials for javascript, html, php, python\n-    and ruby.\n+## 在线资源\n+\n+-   [http://www.codeacademy.com/](http://www.codeacademy.com/) - 这个网站有许多与javascritp,html,php,python和ruby相关的好的入门教程。\n \n -   [http://www.w3schools.com/](http://www.w3schools.com/)\n \n-## Programming checklist\n+## 编程学习列表\n+\n+参照下面步骤学习编程：\n \n-Follow these steps to learn how to program:\n+### 基础知识\n \n-### The very basics\n+-   学习什么是程序语句（什么是“计算机语言”）\n+-   学习变量是什么\n+-   学习条件语句是什么（if语句）\n+-   学习循环语句时什么\n+-   学习如何输入\n+    -   不同输入方法（按键，鼠标移动，鼠标按钮）\n+-   学习如何输出\n+    -   不同输出方法（文本，图像，声音）\n \n--   learn what a program statement is (and what a \"computer language\"\n-    is)\n--   learn what a variable is\n--   learn what a conditional (if statement) is\n--   learn what a loop is\n--   learn what input is\n-    -   different kinds of input (key press, mouse move, mouse button)\n--   learn what output is\n-    -   different kinds of output (text, image, sound)\n \n-Simple program 1: Write a program that counts how many times someone\n-presses the space bar.\n+简单程序1: 编写一个统计空格键按压次数的程序。\n \n-Simple program 2: Write a program that counts how many times someone\n-presses each arrow key.\n+简单程序2: 编写一个统计按压每个方向键的次数的程序。\n \n-program 3: Write a program that starts counting when someone presses the\n-space bar, and stops counting when they hit it a second time (like a\n-stop-watch).\n+程序3: 编写一个程序，按下空格键后开始计时，当再次按下空格键后停止计时（类似秒表）。\n \n-Program 4: Write a program that moves a ball to the right on the screen,\n-when the right arrow is pressed.\n+程序4: 编写一个程序，当鼠标右键被按下后在屏幕上移动一个球到屏幕右边。","path":"zh/toolbox/dev_res/Beginning_Programming/Beginning_Programming.md","position":130,"original_position":130,"commit_id":"e335c4f04d16510f0536303346a467029957cc23","original_commit_id":"e335c4f04d16510f0536303346a467029957cc23","user":{"login":"hduffddybz","id":8110714,"avatar_url":"https://avatars.githubusercontent.com/u/8110714?v=3","gravatar_id":"","url":"https://api.github.com/users/hduffddybz","html_url":"https://github.com/hduffddybz","followers_url":"https://api.github.com/users/hduffddybz/followers","following_url":"https://api.github.com/users/hduffddybz/following{/other_user}","gists_url":"https://api.github.com/users/hduffddybz/gists{/gist_id}","starred_url":"https://api.github.com/users/hduffddybz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hduffddybz/subscriptions","organizations_url":"https://api.github.com/users/hduffddybz/orgs","repos_url":"https://api.github.com/users/hduffddybz/repos","events_url":"https://api.github.com/users/hduffddybz/events{/privacy}","received_events_url":"https://api.github.com/users/hduffddybz/received_events","type":"User","site_admin":false},"body":"当右键被按下时","created_at":"2015-07-13T08:52:25Z","updated_at":"2015-07-13T08:52:25Z","html_url":"https://github.com/tinyclub/elinux/pull/9#discussion_r34443692","pull_request_url":"https://api.github.com/repos/tinyclub/elinux/pulls/9","_links":{"self":{"href":"https://api.github.com/repos/tinyclub/elinux/pulls/comments/34443692"},"html":{"href":"https://github.com/tinyclub/elinux/pull/9#discussion_r34443692"},"pull_request":{"href":"https://api.github.com/repos/tinyclub/elinux/pulls/9"}}},"pull_request":{"url":"https://api.github.com/repos/tinyclub/elinux/pulls/9","id":39786746,"html_url":"https://github.com/tinyclub/elinux/pull/9","diff_url":"https://github.com/tinyclub/elinux/pull/9.diff","patch_url":"https://github.com/tinyclub/elinux/pull/9.patch","issue_url":"https://api.github.com/repos/tinyclub/elinux/issues/9","number":9,"state":"open","locked":false,"title":"Update zh/toolbox/dev_res/Beginning_Programming/Beginning_Programming.md","user":{"login":"bigzz","id":3463736,"avatar_url":"https://avatars.githubusercontent.com/u/3463736?v=3","gravatar_id":"","url":"https://api.github.com/users/bigzz","html_url":"https://github.com/bigzz","followers_url":"https://api.github.com/users/bigzz/followers","following_url":"https://api.github.com/users/bigzz/following{/other_user}","gists_url":"https://api.github.com/users/bigzz/gists{/gist_id}","starred_url":"https://api.github.com/users/bigzz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bigzz/subscriptions","organizations_url":"https://api.github.com/users/bigzz/orgs","repos_url":"https://api.github.com/users/bigzz/repos","events_url":"https://api.github.com/users/bigzz/events{/privacy}","received_events_url":"https://api.github.com/users/bigzz/received_events","type":"User","site_admin":false},"body":"Please help review this patch.","created_at":"2015-07-13T07:56:51Z","updated_at":"2015-07-13T08:52:25Z","closed_at":null,"merged_at":null,"merge_commit_sha":"2830540ee3f27cc5724d0e4820406c84c7058c94","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/tinyclub/elinux/pulls/9/commits","review_comments_url":"https://api.github.com/repos/tinyclub/elinux/pulls/9/comments","review_comment_url":"https://api.github.com/repos/tinyclub/elinux/pulls/comments{/number}","comments_url":"https://api.github.com/repos/tinyclub/elinux/issues/9/comments","statuses_url":"https://api.github.com/repos/tinyclub/elinux/statuses/e335c4f04d16510f0536303346a467029957cc23","head":{"label":"bigzz:master","ref":"master","sha":"e335c4f04d16510f0536303346a467029957cc23","user":{"login":"bigzz","id":3463736,"avatar_url":"https://avatars.githubusercontent.com/u/3463736?v=3","gravatar_id":"","url":"https://api.github.com/users/bigzz","html_url":"https://github.com/bigzz","followers_url":"https://api.github.com/users/bigzz/followers","following_url":"https://api.github.com/users/bigzz/following{/other_user}","gists_url":"https://api.github.com/users/bigzz/gists{/gist_id}","starred_url":"https://api.github.com/users/bigzz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bigzz/subscriptions","organizations_url":"https://api.github.com/users/bigzz/orgs","repos_url":"https://api.github.com/users/bigzz/repos","events_url":"https://api.github.com/users/bigzz/events{/privacy}","received_events_url":"https://api.github.com/users/bigzz/received_events","type":"User","site_admin":false},"repo":{"id":38857749,"name":"elinux","full_name":"bigzz/elinux","owner":{"login":"bigzz","id":3463736,"avatar_url":"https://avatars.githubusercontent.com/u/3463736?v=3","gravatar_id":"","url":"https://api.github.com/users/bigzz","html_url":"https://github.com/bigzz","followers_url":"https://api.github.com/users/bigzz/followers","following_url":"https://api.github.com/users/bigzz/following{/other_user}","gists_url":"https://api.github.com/users/bigzz/gists{/gist_id}","starred_url":"https://api.github.com/users/bigzz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bigzz/subscriptions","organizations_url":"https://api.github.com/users/bigzz/orgs","repos_url":"https://api.github.com/users/bigzz/repos","events_url":"https://api.github.com/users/bigzz/events{/privacy}","received_events_url":"https://api.github.com/users/bigzz/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/bigzz/elinux","description":"The Chinese translation of the embedded Linux Wiki (elinux.org)","fork":true,"url":"https://api.github.com/repos/bigzz/elinux","forks_url":"https://api.github.com/repos/bigzz/elinux/forks","keys_url":"https://api.github.com/repos/bigzz/elinux/keys{/key_id}","collaborators_url":"https://api.github.com/repos/bigzz/elinux/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/bigzz/elinux/teams","hooks_url":"https://api.github.com/repos/bigzz/elinux/hooks","issue_events_url":"https://api.github.com/repos/bigzz/elinux/issues/events{/number}","events_url":"https://api.github.com/repos/bigzz/elinux/events","assignees_url":"https://api.github.com/repos/bigzz/elinux/assignees{/user}","branches_url":"https://api.github.com/repos/bigzz/elinux/branches{/branch}","tags_url":"https://api.github.com/repos/bigzz/elinux/tags","blobs_url":"https://api.github.com/repos/bigzz/elinux/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/bigzz/elinux/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/bigzz/elinux/git/refs{/sha}","trees_url":"https://api.github.com/repos/bigzz/elinux/git/trees{/sha}","statuses_url":"https://api.github.com/repos/bigzz/elinux/statuses/{sha}","languages_url":"https://api.github.com/repos/bigzz/elinux/languages","stargazers_url":"https://api.github.com/repos/bigzz/elinux/stargazers","contributors_url":"https://api.github.com/repos/bigzz/elinux/contributors","subscribers_url":"https://api.github.com/repos/bigzz/elinux/subscribers","subscription_url":"https://api.github.com/repos/bigzz/elinux/subscription","commits_url":"https://api.github.com/repos/bigzz/elinux/commits{/sha}","git_commits_url":"https://api.github.com/repos/bigzz/elinux/git/commits{/sha}","comments_url":"https://api.github.com/repos/bigzz/elinux/comments{/number}","issue_comment_url":"https://api.github.com/repos/bigzz/elinux/issues/comments{/number}","contents_url":"https://api.github.com/repos/bigzz/elinux/contents/{+path}","compare_url":"https://api.github.com/repos/bigzz/elinux/compare/{base}...{head}","merges_url":"https://api.github.com/repos/bigzz/elinux/merges","archive_url":"https://api.github.com/repos/bigzz/elinux/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/bigzz/elinux/downloads","issues_url":"https://api.github.com/repos/bigzz/elinux/issues{/number}","pulls_url":"https://api.github.com/repos/bigzz/elinux/pulls{/number}","milestones_url":"https://api.github.com/repos/bigzz/elinux/milestones{/number}","notifications_url":"https://api.github.com/repos/bigzz/elinux/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/bigzz/elinux/labels{/name}","releases_url":"https://api.github.com/repos/bigzz/elinux/releases{/id}","created_at":"2015-07-10T03:00:36Z","updated_at":"2015-07-10T03:00:37Z","pushed_at":"2015-07-13T07:53:05Z","git_url":"git://github.com/bigzz/elinux.git","ssh_url":"git@github.com:bigzz/elinux.git","clone_url":"https://github.com/bigzz/elinux.git","svn_url":"https://github.com/bigzz/elinux","homepage":null,"size":1578,"stargazers_count":0,"watchers_count":0,"language":"Makefile","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"tinyclub:master","ref":"master","sha":"d960b1657869c765abf9fa834d30fb6555288869","user":{"login":"tinyclub","id":11903200,"avatar_url":"https://avatars.githubusercontent.com/u/11903200?v=3","gravatar_id":"","url":"https://api.github.com/users/tinyclub","html_url":"https://github.com/tinyclub","followers_url":"https://api.github.com/users/tinyclub/followers","following_url":"https://api.github.com/users/tinyclub/following{/other_user}","gists_url":"https://api.github.com/users/tinyclub/gists{/gist_id}","starred_url":"https://api.github.com/users/tinyclub/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tinyclub/subscriptions","organizations_url":"https://api.github.com/users/tinyclub/orgs","repos_url":"https://api.github.com/users/tinyclub/repos","events_url":"https://api.github.com/users/tinyclub/events{/privacy}","received_events_url":"https://api.github.com/users/tinyclub/received_events","type":"Organization","site_admin":false},"repo":{"id":38624528,"name":"elinux","full_name":"tinyclub/elinux","owner":{"login":"tinyclub","id":11903200,"avatar_url":"https://avatars.githubusercontent.com/u/11903200?v=3","gravatar_id":"","url":"https://api.github.com/users/tinyclub","html_url":"https://github.com/tinyclub","followers_url":"https://api.github.com/users/tinyclub/followers","following_url":"https://api.github.com/users/tinyclub/following{/other_user}","gists_url":"https://api.github.com/users/tinyclub/gists{/gist_id}","starred_url":"https://api.github.com/users/tinyclub/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tinyclub/subscriptions","organizations_url":"https://api.github.com/users/tinyclub/orgs","repos_url":"https://api.github.com/users/tinyclub/repos","events_url":"https://api.github.com/users/tinyclub/events{/privacy}","received_events_url":"https://api.github.com/users/tinyclub/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/tinyclub/elinux","description":"The Chinese translation of the embedded Linux Wiki (elinux.org)","fork":false,"url":"https://api.github.com/repos/tinyclub/elinux","forks_url":"https://api.github.com/repos/tinyclub/elinux/forks","keys_url":"https://api.github.com/repos/tinyclub/elinux/keys{/key_id}","collaborators_url":"https://api.github.com/repos/tinyclub/elinux/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/tinyclub/elinux/teams","hooks_url":"https://api.github.com/repos/tinyclub/elinux/hooks","issue_events_url":"https://api.github.com/repos/tinyclub/elinux/issues/events{/number}","events_url":"https://api.github.com/repos/tinyclub/elinux/events","assignees_url":"https://api.github.com/repos/tinyclub/elinux/assignees{/user}","branches_url":"https://api.github.com/repos/tinyclub/elinux/branches{/branch}","tags_url":"https://api.github.com/repos/tinyclub/elinux/tags","blobs_url":"https://api.github.com/repos/tinyclub/elinux/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/tinyclub/elinux/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/tinyclub/elinux/git/refs{/sha}","trees_url":"https://api.github.com/repos/tinyclub/elinux/git/trees{/sha}","statuses_url":"https://api.github.com/repos/tinyclub/elinux/statuses/{sha}","languages_url":"https://api.github.com/repos/tinyclub/elinux/languages","stargazers_url":"https://api.github.com/repos/tinyclub/elinux/stargazers","contributors_url":"https://api.github.com/repos/tinyclub/elinux/contributors","subscribers_url":"https://api.github.com/repos/tinyclub/elinux/subscribers","subscription_url":"https://api.github.com/repos/tinyclub/elinux/subscription","commits_url":"https://api.github.com/repos/tinyclub/elinux/commits{/sha}","git_commits_url":"https://api.github.com/repos/tinyclub/elinux/git/commits{/sha}","comments_url":"https://api.github.com/repos/tinyclub/elinux/comments{/number}","issue_comment_url":"https://api.github.com/repos/tinyclub/elinux/issues/comments{/number}","contents_url":"https://api.github.com/repos/tinyclub/elinux/contents/{+path}","compare_url":"https://api.github.com/repos/tinyclub/elinux/compare/{base}...{head}","merges_url":"https://api.github.com/repos/tinyclub/elinux/merges","archive_url":"https://api.github.com/repos/tinyclub/elinux/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/tinyclub/elinux/downloads","issues_url":"https://api.github.com/repos/tinyclub/elinux/issues{/number}","pulls_url":"https://api.github.com/repos/tinyclub/elinux/pulls{/number}","milestones_url":"https://api.github.com/repos/tinyclub/elinux/milestones{/number}","notifications_url":"https://api.github.com/repos/tinyclub/elinux/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/tinyclub/elinux/labels{/name}","releases_url":"https://api.github.com/repos/tinyclub/elinux/releases{/id}","created_at":"2015-07-06T14:38:13Z","updated_at":"2015-07-11T16:51:28Z","pushed_at":"2015-07-13T08:49:29Z","git_url":"git://github.com/tinyclub/elinux.git","ssh_url":"git@github.com:tinyclub/elinux.git","clone_url":"https://github.com/tinyclub/elinux.git","svn_url":"https://github.com/tinyclub/elinux","homepage":null,"size":3998,"stargazers_count":13,"watchers_count":13,"language":"Makefile","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":20,"mirror_url":null,"open_issues_count":8,"forks":20,"open_issues":8,"watchers":13,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/tinyclub/elinux/pulls/9"},"html":{"href":"https://github.com/tinyclub/elinux/pull/9"},"issue":{"href":"https://api.github.com/repos/tinyclub/elinux/issues/9"},"comments":{"href":"https://api.github.com/repos/tinyclub/elinux/issues/9/comments"},"review_comments":{"href":"https://api.github.com/repos/tinyclub/elinux/pulls/9/comments"},"review_comment":{"href":"https://api.github.com/repos/tinyclub/elinux/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/tinyclub/elinux/pulls/9/commits"},"statuses":{"href":"https://api.github.com/repos/tinyclub/elinux/statuses/e335c4f04d16510f0536303346a467029957cc23"}}}}