Scala.js - Getting the Best of JavaScript and Scala
Offered By: Devoxx via YouTube
Course Description
Overview
Explore Scala.js through a hands-on game development tutorial using the JavaScript library Phaser. Learn how this language compiles to JavaScript while maintaining close ties to Scala/JVM and enabling seamless interaction with JavaScript libraries. Follow along as Sébastien Doeraene, a Ph.D. student at EPFL and Scala.js developer, guides you through creating a memory game. Gain insights into Scala.js syntax, development workflows, and techniques for integrating JavaScript libraries. Discover how to leverage Scala.js features like abstract classes, pattern matching, and state management while building an interactive game with preloading, event handling, and score tracking. By the end of this 49-minute Devoxx conference talk, you'll have a solid understanding of Scala.js's capabilities and its potential for bridging the gap between Scala and JavaScript development.
Syllabus
Introduction
Scala GS
Live coding session
Simple memory game
Show of hands
Phaser
Event Loop
Class Declaration
Preload Method
Importing tools
Translating the API
State Manager
Toit
Preload
Console
Creating things
Creating images
Shuffle images
Double loop
Input processing
Events
Interact
Game logic
Cards
Testing
Declarations
Abstract class
Guess states
Card class
Abstract classes
Interface
Store State
Pattern Matching
Index
NoGas
One Card
Two Cards
Key Reuse
Key
Front
Displaying score
Untype
Question time
Add events
Add index
Check guest state
Recompiling
Thanks
Source code
Taught by
Devoxx
Related Courses
Play by Play: Developing Microservices and Mobile Apps with JHipsterPluralsight Software Archaeology - Learning from the Landing on the Moon
Devoxx via YouTube Create an Eco-Friendly World with Green Software Engineering
Devoxx via YouTube Platform Building for Data Mesh - Show Me How It Is Done
Devoxx via YouTube The Hitchhiker's Guide to Software Architecture and Design
Devoxx via YouTube