Go beyond block-based programming.
AstralCode is an educational coding platform for students designed to bridge the gap between block-based and text-based programming.
Student-First
A better way to educate.
AstralCode lets students build real projects, write real code, and learn real skills.
- Promote success.
- Students deserve an education thats sets them up for success. AstralCode teaches real-world, practical coding skills using JavaScript, which is the world's most popular programming language.
- Increase engagement.
- Education should be both effective and engaging. AstralCode encourages students to learn by doing and express their creativity through game development.
- Improve retention.
- The transition from block-based to text-based coding can be daunting. Without proper support, many students give up. AstralCode is crafted specifically to help these students make the leap.
Spaceship.ts
Asteroid.ts
Rocket.ts
class Spaceship {
health: number = 100
onUpdate() {
if (Keyboard.isKeyPressed("space")) {
this.moveForward()
}
if (this.isTouching("asteroid")) {
this.health -= 10
}
}
}