CodeCraft - JavaScript
Introduction
Volume One: Introducing CodeCraft
1 - First JavaScript Program
Print a Message
Comment
Data Types
Variables
2 - CodeCraft 3D Game
Set up CodeCraft
First Block
3D Coordinates
More Blocks
Conclusion
3 - Loop
for loop basics
Build horizontal rows
Build vertical columns
Diagonals
Solid & Dotted Line
Nested Loops
Wall & Cube
4 - Function Basics
Define a Function
Call a Function
Why Function?
Function Parameters
Return Values
5 - Fundamental Functions in CodeCraft
block_m( )
column_m( )
Volume 2: Use CodeCraft to learn JS Basics
6 - Basic Data Types and Values
Variables and Value Assignments
Basic Math Operations
7 - String
String Indexing
Loop Through a String
8 - Array
Array Indexing
Loop Through an Array
Demo Array Basics in CodeCraft
Array Methods
Application in CodeCraft
9 - Object, the Basics
Access Elements
Materials Object
Iterate Over a Dictionary
Pro-topic: 'air' block
10 - User Input
11 - Conditionals
Booleans
if..else statements
Ternary Operators
Flow of Control
12 - While Loop
Application in CodeCraft
Infinite Loop
13 - Random Number generator
randInt( ) in CodeCraft
Volume 3: Complex Structures
Volume 4: Timer & Recursion
Volume 5: Class & Object (OOP)
Volume 6: Events, Keyboard Control
Powered by
GitBook
Build horizontal rows
Build horizontal rows
results matching "
"
No results matching "
"