Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

Introduction to Colyseus and Xterm.js - Building a Social Terminal in JavaScript and Node.js

Chris Hay via YouTube

Overview

Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Explore the process of building a social terminal using Colyseus and xterm.js in this comprehensive 46-minute video tutorial. Learn how to create a Colyseus server with JavaScript, Node.js, and WebSockets, and implement a real-time terminal where participants can see each other's keystrokes. Discover the power of game engines in the metaverse for managing world state and social experiences. Follow along as the instructor guides you through creating custom room types, handling sessions, broadcasting messages, and integrating xterm.js with Colyseus. By the end, gain practical knowledge to develop your own solutions using these technologies, with code available on GitHub for further exploration.

Syllabus

- why game engines are important in the metaverse
- creating a colyseus.js server
- introduction to xterm.js
- creating an xterm.js terminal
- hosting xterm.js and colyseus on the same server
- using express and middleware to host xterm.js and colyseus together
- establishing a websocket connection between xterm.js and colyseus
- extending colyseus with custom rooms types
- logging out on colyseus server when a room is created or destroyed
- handling sessions joining or leaving rooms in colyseus
- broadcast joing leaving rooms to other room participants
- broadcast messages to others in the chat room
- sending keyboard input from the xterm.js to colyseus
- the social terminal
- conclusion

Taught by

Chris Hay

Reviews

Start your review of Introduction to Colyseus and Xterm.js - Building a Social Terminal in JavaScript and Node.js

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.