Skip to content

Latest commit

 

History

History
414 lines (370 loc) · 259 KB

README.md

File metadata and controls

414 lines (370 loc) · 259 KB

Learn

Learn about programming and logic in Brickadia at your own speed.

Already program? Start with Wirescript for Programmers. Want ready-made circuits instead? See Parts.

<style> .learn-graph text { font: 14px sans-serif; fill: var(--fg); } .learn-graph text { paint-order: stroke; stroke: var(--bg); stroke-width: 5px; stroke-linejoin: round; } .learn-graph a, .content .learn-graph a:hover { text-decoration: none; } .learn-graph .branch { font-size: 18px; font-weight: bold; } .learn-graph .edge { fill: none; stroke-width: 1.5; } .learn-graph .sq { fill: var(--c); stroke: var(--fg); stroke-opacity: 0.25; } .learn-graph .learn-node:hover .sq { filter: brightness(1.2); } .learn-graph .icon { fill: #fff; } .learn-graph .pepper { fill: #ffd54a; } .learn-graph .badge circle { fill: var(--bg); stroke: var(--fg); stroke-opacity: 0.4; } .learn-graph .learn-node.learn-done .sq { fill: #fff; } .learn-graph .learn-node.learn-done .icon { fill: var(--c); } .learn-graph .learn-node.learn-done .pepper { fill: #e8590c; } .learn-graph .done { display: none; } .learn-graph .learn-node.learn-done .done { display: inline; } .learn-graph .done circle { fill: #2ea043; } .learn-graph .done svg { fill: #fff; } </style> Basics State Values Logic Strings Templates Events Abstraction Data Shapes Enums Loops Random Input References Prefabs Admin Mastery Space Motion Screen <title>Tools</title>Tools <title>First Circuit - after Tools</title>First Circuit <title>Gates and Wires - after First Circuit</title>Gates and Wires <title>Pure and Exec - difficulty 1 of 3 - after Gates and Wires</title>Pure and Exec <title>Remembering Values - after Pure and Exec</title>Remembering Values <title>Reacting to the Game - difficulty 1 of 3 - after Remembering Values</title>Reacting tothe Game <title>Is It Working? - difficulty 1 of 3 - after Reacting to the Game</title>Is It Working? <title>Variables - after Remembering Values</title>Variables <title>Reading a Variable - difficulty 1 of 3 - after Variables</title>Reading a Variable <title>Buffers - difficulty 2 of 3 - after Reading a Variable</title>Buffers <title>Resetting - difficulty 1 of 3 - after Buffers</title>Resetting <title>Numbers - after Remembering Values</title>Numbers <title>True and False - after Numbers</title>True and False <title>Vectors and Colors - difficulty 1 of 3 - after True and False</title>Vectors and Colors <title>Converting Values - difficulty 1 of 3 - after Vectors and Colors</title>Converting Values <title>Lists - difficulty 1 of 3 - after Converting Values, Reacting to the Game</title>Lists <title>Maps - difficulty 1 of 3 - after Lists</title>Maps <title>Truth Tables - after Gates and Wires</title>Truth Tables <title>Choosing a Value - difficulty 1 of 3 - after Truth Tables</title>Choosing a Value <title>Toggles and Latches - difficulty 2 of 3 - after Choosing a Value, Remembering Values</title>Toggles andLatches <title>Bits - difficulty 2 of 3 - after Choosing a Value</title>Bits <title>Code Door - difficulty 2 of 3 - after Bits</title>Code Door <title>Text Values - after Remembering Values</title>Text Values <title>Taking Text Apart - difficulty 1 of 3 - after Text Values, Reacting to the Game</title>Taking Text Apart <title>Rich Text - after Text Values</title>Rich Text <title>Safe Text - difficulty 1 of 3 - after Taking Text Apart, Rich Text</title>Safe Text <title>Matching Text - difficulty 1 of 3 - after Taking Text Apart, Choosing a Value</title>Matching Text <title>Interpolation - after Remembering Values</title>Interpolation <title>Fmt - difficulty 1 of 3 - after Interpolation</title>Fmt <title>Number Options - difficulty 1 of 3 - after Fmt</title>Number Options <title>Word Forms - difficulty 1 of 3 - after Number Options</title>Word Forms <title>Templates Chosen at Run Time - difficulty 2 of 3 - after Word Forms, Reacting to the Game</title>Templates Chosenat Run Time <title>Score Card - difficulty 2 of 3 - after Templates Chosen at Run Time, Rich Text</title>Score Card <title>Exec Pins - difficulty 1 of 3 - after Reacting to the Game</title>Exec Pins <title>Custom Events - difficulty 2 of 3 - after Exec Pins</title>Custom Events <title>Waiting - difficulty 2 of 3 - after Custom Events</title>Waiting <title>Forking and Merging - difficulty 3 of 3 - after Waiting</title>Forking andMerging <title>Mods - difficulty 1 of 3 - after Reacting to the Game</title>Mods <title>Chips - difficulty 1 of 3 - after Mods</title>Chips <title>Functions - difficulty 2 of 3 - after Chips</title>Functions <title>Imports - difficulty 1 of 3 - after Functions</title>Imports <title>Counting the Cost - difficulty 2 of 3 - after Imports</title>Counting the Cost <title>Presentation - after Chips</title>Presentation <title>Records - difficulty 1 of 3 - after Reacting to the Game, Lists</title>Records <title>Records in Storage - difficulty 1 of 3 - after Records</title>Records in Storage <title>Tuples - difficulty 2 of 3 - after Records in Storage, Mods</title>Tuples <title>Destructuring - difficulty 1 of 3 - after Tuples</title>Destructuring <title>Counting Loops - difficulty 1 of 3 - after Reacting to the Game, Lists</title>Counting Loops <title>Looping Over a List - difficulty 1 of 3 - after Counting Loops</title>LoopingOver a List <title>Looping Over a Map - difficulty 2 of 3 - after Looping Over a List, Maps</title>Looping Over a Map <title>Index and Value - difficulty 1 of 3 - after Looping Over a Map</title>Index and Value <title>Loops Across Ticks - difficulty 3 of 3 - after Index and Value, Waiting</title>Loops Across Ticks <title>Dice - after Reacting to the Game</title>Dice <title>Random Colors - after Dice, Vectors and Colors</title>Random Colors <title>Shuffling - difficulty 1 of 3 - after Random Colors, Index and Value</title>Shuffling <title>Weighted Loot - difficulty 2 of 3 - after Shuffling</title>Weighted Loot <title>Seat Controls - difficulty 1 of 3 - after Reacting to the Game</title>Seat Controls <title>Remote Control - difficulty 1 of 3 - after Seat Controls, Choosing a Value</title>Remote Control <title>Ready Check - difficulty 2 of 3 - after Remote Control, Looping Over a List, Maps, Choosing a Value, Waiting</title>Ready Check <title>Object References - difficulty 1 of 3 - after Reacting to the Game, True and False</title>Object References <title>Ref Parameters - difficulty 2 of 3 - after Object References, Mods, Lists</title>Ref Parameters <title>Ref Values - difficulty 3 of 3 - after Ref Parameters</title>Ref Values <title>Per-Player State - difficulty 2 of 3 - after Ref Values, Maps</title>Per-Player State <title>Enums - difficulty 1 of 3 - after Records</title>Enums <title>Payloads - difficulty 2 of 3 - after Enums</title>Payloads <title>Option and Result - difficulty 2 of 3 - after Payloads, Mods</title>Option and Result <title>Enums from Pins - difficulty 1 of 3 - after Option and Result</title>Enums from Pins <title>Game Enums - difficulty 1 of 3 - after Enums from Pins</title>Game Enums <title>Spawning a Prefab - difficulty 1 of 3 - after Reacting to the Game, Custom Events</title>Spawning a Prefab <title>Saved Builds - difficulty 1 of 3 - after Spawning a Prefab</title>Saved Builds <title>Prefab Files - difficulty 1 of 3 - after Saved Builds</title>Prefab Files <title>Talking to a Copy - difficulty 2 of 3 - after Prefab Files</title>Talking to a Copy <title>Lifecycle and Storage - difficulty 2 of 3 - after Talking to a Copy</title>Lifecycleand Storage <title>Nested Prefabs - difficulty 2 of 3 - after Lifecycle and Storage</title>Nested Prefabs <title>One Chip per Player - difficulty 3 of 3 - after Nested Prefabs, Looping Over a Map, Seat Controls</title>One Chipper Player <title>Admin Gates - (needs admin to load) - after Is It Working?</title>Admin Gates <title>World Control - (needs admin to load) - difficulty 1 of 3 - after Admin Gates, Forking and Merging</title>World Control <title>Teams - (needs admin to load) - difficulty 1 of 3 - after World Control, Shuffling</title>Teams <title>Persistent Players - (needs admin to load) - difficulty 2 of 3 - after Admin Gates, Object References, Looping Over a List</title>Persistent Players <title>Player Control - (needs admin to load) - difficulty 1 of 3 - after Persistent Players</title>Player Control <title>Chat Commands - (needs admin to load) - difficulty 1 of 3 - after Admin Gates, Taking Text Apart, Safe Text</title>Chat Commands <title>Every Player - (needs admin to load) - difficulty 2 of 3 - after Chat Commands, Looping Over a Map, Persistent Players, Mods</title>Every Player <title>Moderation - (needs admin to load) - difficulty 2 of 3 - after Player Control, Every Player</title>Moderation <title>Testing - difficulty 2 of 3 - after Mods, Looping Over a List</title>Testing <title>Const and Folding - difficulty 3 of 3 - after Testing, Counting the Cost</title>Const and Folding <title>Performance - difficulty 3 of 3 - after Const and Folding, One Chip per Player</title>Performance <title>Multiplayer Architecture - difficulty 3 of 3 - after Performance, One Chip per Player, Per-Player State, Custom Events</title>MultiplayerArchitecture <title>Writing Libraries - difficulty 3 of 3 - after Imports, Multiplayer Architecture</title>Writing Libraries <title>Distance and Direction - difficulty 1 of 3 - after Vectors and Colors, Reacting to the Game</title>Distance andDirection <title>Dot and Cross - difficulty 2 of 3 - after Distance and Direction</title>Dot and Cross <title>Angles - difficulty 2 of 3 - after Dot and Cross</title>Angles <title>Rotations - difficulty 3 of 3 - after Angles, Looping Over a List</title>Rotations <title>Blending Values - difficulty 1 of 3 - after Numbers, Vectors and Colors</title>Blending Values <title>Easing - difficulty 2 of 3 - after Blending Values, Reacting to the Game</title>Easing <title>Over Time - difficulty 2 of 3 - after Easing, Seat Controls</title>Over Time <title>Messages to One Player - after Reacting to the Game</title>Messages toOne Player <title>Text on Screen - difficulty 1 of 3 - after Messages to One Player, Rich Text</title>Text on Screen <title>Keeping It Current - difficulty 2 of 3 - after Text on Screen, Object References</title>Keeping It Current <title>A HUD for Everyone - difficulty 3 of 3 - after Keeping It Current, Per-Player State, Looping Over a Map, Index and Value</title>A HUD for Everyone

Basics

  1. Tools
  2. First Circuit
  3. Gates and Wires
  4. Pure and Exec
  5. Remembering Values
  6. Reacting to the Game
  7. Is It Working?
  8. Wirescript for Programmers (after Tools)

State

  1. Variables (after Remembering Values)
  2. Reading a Variable
  3. Buffers
  4. Resetting

Values

  1. Numbers (after Remembering Values)
  2. True and False
  3. Vectors and Colors
  4. Converting Values
  5. Lists (after Reacting to the Game)
  6. Maps

Logic

  1. Truth Tables (after Gates and Wires)
  2. Choosing a Value
  3. Toggles and Latches (after Remembering Values)
  4. Bits (after Choosing a Value)
  5. Code Door

Strings

  1. Text Values (after Remembering Values)
  2. Taking Text Apart (after Reacting to the Game)
  3. Rich Text (after Text Values)
  4. Safe Text (after Taking Text Apart)
  5. Matching Text (after Taking Text Apart, Choosing a Value)

Templates

  1. Interpolation (after Remembering Values)
  2. Fmt
  3. Number Options
  4. Word Forms
  5. Templates Chosen at Run Time (after Reacting to the Game)
  6. Score Card (after Rich Text)

Events

  1. Exec Pins (after Reacting to the Game)
  2. Custom Events
  3. Waiting
  4. Forking and Merging

Abstraction

  1. Mods (after Reacting to the Game)
  2. Chips
  3. Functions
  4. Imports
  5. Counting the Cost
  6. Presentation (after Chips)

Data Shapes

  1. Records (after Reacting to the Game, Lists)
  2. Records in Storage
  3. Tuples (after Mods)
  4. Destructuring

Enums

  1. Enums (after Records)
  2. Payloads
  3. Option and Result (after Mods)
  4. Enums from Pins
  5. Game Enums

Loops

  1. Counting Loops (after Reacting to the Game, Lists)
  2. Looping Over a List
  3. Looping Over a Map (after Maps)
  4. Index and Value
  5. Loops Across Ticks (after Waiting)

Random

  1. Dice (after Reacting to the Game)
  2. Random Colors (after Vectors and Colors)
  3. Shuffling (after Index and Value)
  4. Weighted Loot

Input

  1. Seat Controls (after Reacting to the Game)
  2. Remote Control (after Choosing a Value)
  3. Ready Check (after Looping Over a List, Maps, Choosing a Value, Waiting)

References

  1. Object References (after Reacting to the Game, True and False)
  2. Ref Parameters (after Mods, Lists)
  3. Ref Values
  4. Per-Player State (after Maps)

Prefabs

  1. Spawning a Prefab (after Reacting to the Game, Custom Events)
  2. Saved Builds
  3. Prefab Files
  4. Talking to a Copy
  5. Lifecycle and Storage
  6. Nested Prefabs
  7. One Chip per Player (after Looping Over a Map, Seat Controls)

Admin

  1. Admin Gates (after Is It Working?) (needs admin to load)
  2. World Control (after Forking and Merging) (needs admin to load)
  3. Teams (after Shuffling) (needs admin to load)
  4. Persistent Players (after Admin Gates, Object References, Looping Over a List) (needs admin to load)
  5. Player Control (needs admin to load)
  6. Chat Commands (after Admin Gates, Taking Text Apart, Safe Text) (needs admin to load)
  7. Every Player (after Looping Over a Map, Persistent Players, Mods) (needs admin to load)
  8. Moderation (after Player Control) (needs admin to load)

Mastery

  1. Testing (after Mods, Looping Over a List)
  2. Const and Folding (after Counting the Cost)
  3. Performance (after One Chip per Player)
  4. Multiplayer Architecture (after One Chip per Player, Per-Player State, Custom Events)
  5. Writing Libraries (after Imports)

Space

  1. Distance and Direction (after Vectors and Colors, Reacting to the Game)
  2. Dot and Cross
  3. Angles
  4. Rotations (after Looping Over a List)

Motion

  1. Blending Values (after Numbers, Vectors and Colors)
  2. Easing (after Reacting to the Game)
  3. Over Time (after Seat Controls)

Screen

  1. Messages to One Player (after Reacting to the Game)
  2. Text on Screen (after Rich Text)
  3. Keeping It Current (after Object References)
  4. A HUD for Everyone (after Per-Player State, Looping Over a Map, Index and Value)