CORE PRINCIPLES

JavaScript

prompt‘ – A prompt is used to display a dialog with an optional message prompting the user to input some text. It is often used if the user wants to input a value before entering a page.

var‘ -A variable is a “named storage” for data. We can use variables to store data that we the programmer set or data that the player/user can use.

if‘ -An if statement is a conditional statement for example someone might use it in a game setting for a choice game such as the telltale game series. if you chose this then this happens.

else‘ -The else statement executes a block of code if a specified condition is true. If the condition is false, another block of code can be executed. ‘else’

Code Blocks‘ -A code block is the how you end a block of code. It is largely used in an if statement when executing the command at the end of the statement. It is visualized as “{}”.

Script that guesses a letter of the alphabet.
Example of a simple flow chart.
Example of a quiz flow chart.

Programming and Games Design Key Terminology

22/31

I need to spend more time on Classes and Functions, Syntax and Semantics and Conditional Statements.

I was confident with Integrated Development Environments and Marketing Games With Storefronts. This is because of my general knowledge and understanding of these subjects reflecting not only college time but education outside of NextGen.

1 topic that surprised me was Blocking out / Level Design as it is a topic that I struggle to get good at and something that I find hard to understand.

Data Types: A float is used when defining numeric values with a decimal point within them. A string is used for handling worded data such as a sentence and numeric characters but is not a variable (meaning it can not be altered or changed). A boolean holds true or false variables such as is the player full health? yes or no. A char data type can be seen as holding a character such as ‘A’.

Pseuedocode is a simple English language way of writing code programmers use it to help them focus on what they are trying to do. It is also not uncommon for a programmer to use Psuedocode when learning a new language or revisiting a language they may not have used in a while to focus on specifics of code instead of writing long amounts of code that may be wrong.

Conditional statements help you to make a decision based on certain conditions. These conditions are specified by a set of conditional statements having boolean expressions which are evaluated to a boolean value true or false. Types of conditional statements include:

If statement

If-Else statement

Nested If-else statement

If-Else If ladder

Switch statement

An iteration statement is where a series of statements can be executed 0 times or multiple times in sequence. Iteration is implemented in programming using FOR and WHILE statements. In programming, iteration is often referred to as ‘looping’, because when a program iterates it ‘loops’ to an earlier step.