In Modify and Run Your First Verse Program, you learned how to access Verse through Unreal Editor for Fortnite (UEFN), and how to modify a Verse program and troubleshoot your code.
Now you can start learning the basics of writing code in Verse, along with learning a few fundamentals for programming in general.
What you have here is a series of lessons. Each lesson has a little hands-on exercise at the end to help you retain the info from the lesson. In the best of all possible worlds, you would move through each lesson sequentially, and in a relatively short time.
Each lesson should take you 3–10 minutes to complete.
So get ready to have some fun while you learn to write some code with Verse!
Lesson 1: Basic Programming Terms
First step is to make sure you have a good understanding of basic programming terms.
Lesson 1: Practice Time!
Practice writing algorithms until you're comfortable with how they work.
Lesson 2: Basic Programming Components
Time to look at some of the elements that make code work.
Lesson 2: Practice Time!
Time to write some simple code using Verse.
Lesson 3: Storing and Using Information
Programs need information to know what to do. Learn different ways to store information in your program.
Lesson 3: Practice Time!
Practice working with constants and variables.
Lesson 4: Writing Simple Code
Practice is the key to competence. Practice writing more code!
Lesson 4: Practice Time!
In this hands-on exercise, you'll get to write some code, then debug it when it doesn't work as expected!
Lesson 5: Calling Functions
Why do the same work twice if you don't have to?
Lesson 5: Practice Time!
Ready to call some functions? Start!
Lesson 6: Defining a Function
Learn about what goes into a function to make it work, and how to put the parts together.
Lesson 6: Practice Time!
Define a function — or two! You can do it!
Lesson 7: Specifying the Result of a Function
Sometimes you want a result; sometimes you don't.
Lesson 7: Practice Time!
Practice writing functions that return a result.
Lesson 8: How Input, Parameters, and Arguments Work
Learn how to define parameters in a function to get the result you need.
Lesson 8: Practice Time!
Practice setting parameters and arguments for functions.
Lesson 9: Failure and Control Flow
Learn how failure is used to control your program's flow.
Lesson 9: Practice Time!
Practice using failable expressions and failure contexts.