GotchiCode needs JavaScript for the code editor and live challenges. Please enable it to play.
GotchiCode
Paths
Courses
Community
Arcade
Leaderboard
◂
Learn Rust
▾
Hello, Rust
0/5
The Forge Awakens
10 XP
Expressions
10 XP
Comments and Names
10 XP
A First Parameter
15 XP
Reading the Forge's Complaints
10 XP
▾
Variables & Mutability
0/4
let Bindings
10 XP
mut
15 XP
Shadowing
15 XP
const
15 XP
▾
Basic Types
0/4
Integers
10 XP
Floats
15 XP
Booleans
15 XP
chars and Casts
15 XP
▾
Functions
0/4
Parameters
15 XP
Functions Calling Functions
15 XP
Blocks Are Expressions
15 XP
Forge Arithmetic
20 XP
▾
Control Flow
0/4
if / else
15 XP
if Is an Expression
15 XP
else if and return
15 XP
Loops
20 XP
▾
Strings, First Steps
0/4
The String Type
15 XP
format!
15 XP
push_str
15 XP
Asking Questions
15 XP
▾
Ownership
0/5
Moves
20 XP
clone
20 XP
Copy Types
20 XP
Ownership and Functions
20 XP
Move Repair
25 XP
▾
Borrowing
0/5
Shared References
20 XP
Mutable References
20 XP
The Rules
20 XP
Borrow, Don't Take
25 XP
Borrow Practice
25 XP
▾
Slices
0/3
String Slices
20 XP
Array Slices
20 XP
Walking a Slice
20 XP
▾
Structs
0/5
Defining a Struct
20 XP
Reading Fields
20 XP
Building Values
20 XP
Update Syntax
20 XP
Tuple Structs
20 XP
▾
Methods
0/4
impl and self
20 XP
self
20 XP
Associated Functions
20 XP
A Full impl
25 XP
▾
Enums
0/3
Variants
20 XP
Variants with Data
20 XP
Choosing a Variant
20 XP
▾
Pattern Matching
0/4
match Basics
20 XP
Binding Patterns
20 XP
The Catch-All
20 XP
if let
20 XP
▾
Option
0/4
Some and None
20 XP
Matching Options
20 XP
unwrap_or
20 XP
Optional Fields
25 XP
▾
Result & Errors
0/5
Ok and Err
20 XP
Handling Results
20 XP
Passing Errors Up
25 XP
The Question Mark
25 XP
Forge Inspection
25 XP
▾
Vectors
0/4
Vec Basics
20 XP
Index and get
20 XP
Looping a Vec
20 XP
Mutating in a Loop
25 XP
▾
HashMaps
0/4
insert and get
20 XP
Lookups with Defaults
20 XP
entry
25 XP
Walking a Map
25 XP
▾
Strings In Depth
0/4
chars
20 XP
parse
20 XP
Cleanup Tools
20 XP
Splitting
25 XP
▾
Generics
0/4
Generic Functions
20 XP
Two Type Parameters
20 XP
Generic Structs
25 XP
Generic Practice
25 XP
▾
Traits
0/5
Defining a Trait
20 XP
One Trait, Many Types
25 XP
Default Methods
25 XP
derive
25 XP
Trait Practice
30 XP
▾
Trait Bounds
0/4
Bounded Generics
25 XP
impl Trait Parameters
25 XP
Returning impl Trait
25 XP
Multiple Bounds
30 XP
▾
Lifetimes
0/4
Why Lifetimes
25 XP
Annotations
25 XP
Structs with References
25 XP
'static
25 XP
▾
Closures
0/4
Closure Basics
25 XP
Capturing
25 XP
Closures as Parameters
25 XP
A Closure Toolkit
30 XP
▾
Iterators
0/5
next
25 XP
sum
25 XP
min and max
25 XP
collect
25 XP
Iterator Practice
30 XP
▾
Iterator Adapters
0/5
map
25 XP
filter
25 XP
Chains
25 XP
fold
30 XP
Adapter Practice
30 XP
▾
Capstone: The Gotchi Forge
0/5
Forge the Gotchi
30 XP
The Roster
30 XP
Elemental Clash
30 XP
The Arena
30 XP
The Grand Melee
30 XP
Loading lesson…