GotchiCode needs JavaScript for the code editor and live challenges. Please enable it to play.
GotchiCode
Paths
Courses
Community
Arcade
Leaderboard
Learn JavaScript by Building a Battler
◂
0 / 124
Before You Battle
How Lessons Work
10
What Is a Program?
10
Values and Their Types
10
Naming Your Gotchi
10
Your Gotchi's HP
10
Expressions: Code That Makes a Value
10
Level Up
10
Notes JavaScript Ignores
10
Seeing Your Values: console.log
10
When Node Complains
10
Hello, JavaScript
Variables & Types
Strings
Conditionals
The Turn Loop
A Party of Creatures
Creatures as Objects
The Functional Toolkit
Functions as Values
Guarding Against Bad Input
Classes
Capstone: The Battle Simulator
Numbers & Parsing
More String Methods
More Array Methods
Objects in Depth
Map & Set
Closures & State
Recursion
Inheritance
Getters, Setters & Statics
JSON
Regular Expressions
Generators
Defaults, switch & the Conditional Operator
Destructuring
Safe Access
More Array Tools
Numbers & Math
Promises & async/await
Set Operations
Working With Maps
Dates
Deep Copies
Custom Iterators
Tagged Templates
Huge Numbers
Den Addresses
Loading lesson…
solution.js
javascript
Loading…