Hopscotch (programming language): Difference between revisions

Content deleted Content added
m top: fixed formatting
copy edit/clean up, typo(s) fixed: That’s → That's, it´s → it's, object’s → object's
Line 1:
{{Multiple issues|
{{notability|date=September 2013}}
{{refimprovemore citations needed|date=June 2016}}
{{Underlinked|date=June 2016}}
{{Primary sources|date=July 2019}}
}}
 
'''Hopscotch''' is a [[visual programming language]] developed by Hopscotch Technologies, designed to allow young or beginner [[programmers]] to develop simple projects. Its somewhat simple UI allows its users to drag and drop blocks to create scripts that can be played when activated. Although the language is easy to use, to develop more advanced pieces of code is almost impossible and requires more powerful languages. The use of the language is through an iPad or iPhone supporting Hopscotch. <ref name="Hanselminutes Podcast">[http://www.hanselminutes.com/417/i-am-teaching-my-daughter-to-code-with-hopscotch-fitzgerald-steele Hanselminutes Podcast, Show #417], Apr 04 2014, titled "I am teaching my daughter to code with Hopscotch - Fitzgerald Steele", 30-minute interview with father whose daughter tried Hopscotch app on iPad.</ref>
 
==Software development==
 
The idea sprang from an already existing programming tool, [[Scratch (programming language)|Scratch]], where the user drags blocks into scripts in succession to create a script. This is found much easier by children than typing out the code manually like other programming languages tend to use. Though the developers wanted to take a step back from Scratch and make it slightly easier to grasp the concepts and make Hopscotch easier to use, therefore removing many blocks and adding some of their own in hope to make it easier to use.
 
Line 22 ⟶ 21:
 
=== Editor history ===
The Hopscotch Editor is available on iPhone and iPad. The iPhone version only supported viewing projects until early 2016,<ref>{{Cite web|url=https://forum.gethopscotch.com/t/help-us-test-the-new-iphone-app/10154|title=Help us test the *new* iPhone app!|website=Hopscotch Forum|language=en|access-date=2018-05-06}}</ref>, when an update supporting editing and account functionality was released. The Hopscotch iPhone projects play in an iPhone format even in the iPad and web player.
 
=== When blocks/inputs ===
Line 31 ⟶ 30:
=== Code blocks ===
Code blocks are the actions completed when the blocks are triggered, code blocks fall into 6 categories: abilities, movement, drawing, looks & sounds, values, and control flow.
Drag these into and out of the scripts to modify them. Movement blocks make the character move physically on the screen. Ability blocks let you make your own subprogram blocks to duplicate code in a Hopscotch project. Drawing blocks make an object draw stuff. There are 2 “draw” blocks, Draw a Trail and Clear. Draw a trail obviously draws a trail of selected color and width. There are HSB and RGB options for color. Width is determined by the amount of pixels in that trail (citation needed). Looks & sounds blocks are blocks which change the object’sobject's looks (such as size, invisibility and color). Value blocks are blocks that set a value to a specific number or change a value by a specific number. Finally, control flow blocks are blocks that either repeat a code multiple or infinite times, or add a condition which will make the code inside it execute only if the condition is matched. There is 1 exception, the “Create a Clone” block creates a clone of the object. The clone will not execute any of the code programmed for the original object. That’sThat's the job of the “When object is cloned” block.<!-- This section needs to be completed. -->
 
=== Drawing blocks ===
Line 43 ⟶ 42:
 
=== Webplayer ===
The "player" is also available on the web (known as the "Webplayer"). The webplayer brings Hopscotchs projects to almost any browser. It is designed to work the same as the in-app player. Although, the webplayer does not have any functionality for coding, uploading or liking projects. The web version of a project is only accessible via it´'s unique link that is formatted like this: <nowiki>https://c.gethopscotch.com/p/(project</nowiki> id)
 
== Languages ==
Supported languages: English, Simplified Chinese, Spanish.
 
How to change languages in Hopscotch: iPad >> Settings >> General >> Language & Region >> iPad Language >> (Select a Hopscotch-supported language).
 
==References==
<ref>{{Cite web|url=http://www.gethopscotch.com|title=Hopscotch - Make your own game. Learn to code.|website=Hopscotch|access-date=2016-06-20}}</ref> 2. Hopscotch app:
{{Reflist}}
* Hopscotch app: https://itunes.apple.com/us/app/hopscotch-coding-for-kids/id617098629?mt=8&ign-mpt=uo%3D4
<ref>{{Cite web|url=http://www.gethopscotch.com|title=Hopscotch - Make your own game. Learn to code.|website=Hopscotch|access-date=2016-06-20}}</ref> 2. Hopscotch app:
3.* hopscotch website: https://www.gethopscotch.com/
https://itunes.apple.com/us/app/hopscotch-coding-for-kids/id617098629?mt=8&ign-mpt=uo%3D4
 
3. hopscotch website: https://www.gethopscotch.com/
 
[[Category:Visual programming languages]]