top of page

WRITING CODE IN FTW CODE

Code Hopper

FTW CODE uses block-based coding to introduce computer programming.

  • Block-based programming in FTW CODE features a drag-and-drop capability.

  • Blocks are snapped and stacked on top of each other to write code.

  • Blocks can be dragged and rearranged, and include common commands found in most programming languages.



Types of Blocks:


Closed Blocks − Closed Blocks cannot be placed inside any other blocks. The “Program Start” block and the “Functions” blocks are the only blocks that are considered Closed Blocks in FTW CODE.


Snap Blocks − Snap Blocks are any type of block that can be placed inside of a Closed Block. Snap Blocks often feature selectable elements. For example, the Fly Block allows you to choose the direction from a drop down menu, and enter the time and power values.



Writing Code with Blocks:


Blocks are only considered active when they are solid in color. “Program Start” is always active and will always be solid. Snap blocks will look "grayed out” when they are not active or inside of a closed block.



Not Active



Active


Algorithm

a process or set of rules to be followed in calculations or other problem-solving operations, especially by a computer

Closed Block

A type of coding block in which other blocks can be placed inside of them but they cannot be placed inside of any other blocks.

Code

Code is a term used to describe text that is written using the protocol of a particular language by a computer programmer

Functions

A function is a block of organized, reusable code that is used to perform a specific action

Program

detailed plan or procedure for solving a problem with a computer;

Snap Block

A type of coding block that can be placed inside a closed block.

INTRODUCTION

COMPUTER SCIENCE TERMINOLOGY

WRITING CODE IN FTW CODE

TOOLS & ACCESSIBILITY TO FTW CODE

CONNECTING HOPPER TO FTW CODE

LOOPS TAB IN FTW CODE

GENERAL & MINI DRONE TABS IN FTW CODE

TIPS FOR CODING IN FTW CODE

bottom of page