Hopscotch (programming language): Difference between revisions

Content deleted Content added
Pruned EL links per WP:EL. Removed puffery and trivia.
Potateos (talk | contribs)
No edit summary
Line 5:
}}
 
'''Hopscotch''' is a [[visual programming language]] developed by Hopscotch Technologies, designed to allow young or [[Beginners|beginner]] [[programmers]] to develop simple projects. ItsIt's simple [[User interface|UI]] allows its users to drag and drop blocks to create [[Script (computer programming)|scripts]] that can be played when activated. The use of the language is through an [[iPad]] or [[iPhone]] supporting Hopscotch.<ref name="Hanselminutes Podcast2">[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 existing programming tool, [[Scratch (programming language)|Scratch]], where the user drags blocks to create a script. The [[Software developer|developers]] of Hopscotch wanted to take a step back from Scratch, making it slightly easier to grasp the concepts and use the concepts. Hopscotch's notion of events, and rules combining conditions with actions, is similar to [[AgentSheets]].
 
Hopscotch includes basic programming blocks and functionalities such as [[Variable (computer science)|variables]], [[Sprites (computer graphics)|sprites]] (called objects) and text objects, but also features considered more advanced such as self-[[Variable (mathematics)|variables]], [[Function (mathematics)|maths functions]] and more.
Line 46:
 
=== 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. These can be dragged into and out of the scripts to modify them. Movement blocks make the character move physically on the screen. Ability blocks let one make 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 that draws a trail of selected colorcolour and width. There are [[HSB colorcolour space|HSB]] and [[RGB]] options for colorcolour. Width is determined by the number of [[pixels]] in that trail {{citation needed|date=March 2021}}. Looks & soundssound blocks are blocks that change the object's looks (such as size, invisibility, and colorcolour). Value blocks are blocks that set a value to a specific number or change a value by a specific number. Finally, control flow blocks can 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's the job of the “When an object is cloned” block.<!--This section needs to be completed.-->
 
=== Drawing blocks ===