SlideShare a Scribd company logo
MidwestJS: Building Real-time Chess with Socket.io
1. Make a chess game
2. Use socket.io to make it multiplayer
3. Host it so you can actually play with your friends
socket.io
blog.lightstreamer.com
io.emit() send a message to all connected clients
socket.broadcast() send a message to everyone but me
socket.emit() send a message to the connected socket
socket.on() callback to handle messages in client or server
aka.ms/chessHOL
> code
aka.ms/realchess
dwcares.com/realchess
aka.ms/chesshol
@dwcares

More Related Content

PDF
Share iTunes library between Mac OS X and Windows PC
PPTX
Web rtc, Media stream, Peer connection, Setting up STUN and TURN on Linux and...
PDF
Volatility를 이용한 memory forensics
PPTX
WebRTC for Managers!
DOCX
Set up docker
PPTX
Setup ephemeral password for TURN, Learn RTC in less than 200 Lines of code
DOCX
Environment presentation
PPTX
{'python': 'dict'}
Share iTunes library between Mac OS X and Windows PC
Web rtc, Media stream, Peer connection, Setting up STUN and TURN on Linux and...
Volatility를 이용한 memory forensics
WebRTC for Managers!
Set up docker
Setup ephemeral password for TURN, Learn RTC in less than 200 Lines of code
Environment presentation
{'python': 'dict'}

What's hot (7)

TXT
Migjgjyjyujjyj
PDF
PPTX
Lightweight Multiplayer HTML5 Games with PubNub
PDF
More Depth Commands In Linux - By Vishnu
DOCX
Work flow
TXT
Cluster setup multinode_aws
PDF
RSpec. Part 3
Migjgjyjyujjyj
Lightweight Multiplayer HTML5 Games with PubNub
More Depth Commands In Linux - By Vishnu
Work flow
Cluster setup multinode_aws
RSpec. Part 3
Ad

Recently uploaded (20)

PPTX
Odoo POS Development Services by CandidRoot Solutions
PDF
Raksha Bandhan Grocery Pricing Trends in India 2025.pdf
PDF
Audit Checklist Design Aligning with ISO, IATF, and Industry Standards — Omne...
PPTX
CHAPTER 2 - PM Management and IT Context
PDF
Odoo Companies in India – Driving Business Transformation.pdf
PDF
Nekopoi APK 2025 free lastest update
PPTX
ai tools demonstartion for schools and inter college
PDF
Adobe Illustrator 28.6 Crack My Vision of Vector Design
PDF
System and Network Administration Chapter 2
PPTX
L1 - Introduction to python Backend.pptx
PDF
Addressing The Cult of Project Management Tools-Why Disconnected Work is Hold...
PPTX
Transform Your Business with a Software ERP System
PPTX
history of c programming in notes for students .pptx
PDF
Internet Downloader Manager (IDM) Crack 6.42 Build 41
PDF
SAP S4 Hana Brochure 3 (PTS SYSTEMS AND SOLUTIONS)
PPTX
Agentic AI Use Case- Contract Lifecycle Management (CLM).pptx
PDF
Upgrade and Innovation Strategies for SAP ERP Customers
PDF
EN-Survey-Report-SAP-LeanIX-EA-Insights-2025.pdf
PDF
How to Choose the Right IT Partner for Your Business in Malaysia
PDF
top salesforce developer skills in 2025.pdf
Odoo POS Development Services by CandidRoot Solutions
Raksha Bandhan Grocery Pricing Trends in India 2025.pdf
Audit Checklist Design Aligning with ISO, IATF, and Industry Standards — Omne...
CHAPTER 2 - PM Management and IT Context
Odoo Companies in India – Driving Business Transformation.pdf
Nekopoi APK 2025 free lastest update
ai tools demonstartion for schools and inter college
Adobe Illustrator 28.6 Crack My Vision of Vector Design
System and Network Administration Chapter 2
L1 - Introduction to python Backend.pptx
Addressing The Cult of Project Management Tools-Why Disconnected Work is Hold...
Transform Your Business with a Software ERP System
history of c programming in notes for students .pptx
Internet Downloader Manager (IDM) Crack 6.42 Build 41
SAP S4 Hana Brochure 3 (PTS SYSTEMS AND SOLUTIONS)
Agentic AI Use Case- Contract Lifecycle Management (CLM).pptx
Upgrade and Innovation Strategies for SAP ERP Customers
EN-Survey-Report-SAP-LeanIX-EA-Insights-2025.pdf
How to Choose the Right IT Partner for Your Business in Malaysia
top salesforce developer skills in 2025.pdf
Ad

MidwestJS: Building Real-time Chess with Socket.io

Editor's Notes

  • #3: This slide is required. Do NOT delete. This should be the first slide after your Title Slide. This is an important year and we need to arm our attendees with the information they can use to Grow Share! Please ensure that your objectives are SMART (defined below) and that they will enable them to go in and win against the competition to grow share. If you have questions, please contact your Track PM for guidance. We have also posted guidance on writing good objectives, out on the Speaker Portal (https://www.mytechready.com).   This slide should introduce the session by identifying how this information helps the attendee, partners and customers be more successful. Why is this content important? This slide should call out what’s important about the session (sort of the why should we care, why is this important and how will it help our customers/partners be successful) as well as the key takeaways/objectives associated with the session. Call out what attendees will be able to execute on using the information gained in this session. What will they be able to walk away from this session and execute on with their customers. Good Objectives should be SMART (specific, measurable, achievable, realistic, time-bound). Focus on the key takeaways and why this information is important to the attendee, our partners and our customers. Each session has objectives defined and published on www.mytechready.com, please work with your Track PM to call these out here in the slide deck. If you have questions, please contact your Track PM. See slide 5 in this template for a complete list of Tracks and TPMs.
  • #7: This slide is required. Do NOT delete. This should be the first slide after your Title Slide. This is an important year and we need to arm our attendees with the information they can use to Grow Share! Please ensure that your objectives are SMART (defined below) and that they will enable them to go in and win against the competition to grow share. If you have questions, please contact your Track PM for guidance. We have also posted guidance on writing good objectives, out on the Speaker Portal (https://www.mytechready.com).   This slide should introduce the session by identifying how this information helps the attendee, partners and customers be more successful. Why is this content important? This slide should call out what’s important about the session (sort of the why should we care, why is this important and how will it help our customers/partners be successful) as well as the key takeaways/objectives associated with the session. Call out what attendees will be able to execute on using the information gained in this session. What will they be able to walk away from this session and execute on with their customers. Good Objectives should be SMART (specific, measurable, achievable, realistic, time-bound). Focus on the key takeaways and why this information is important to the attendee, our partners and our customers. Each session has objectives defined and published on www.mytechready.com, please work with your Track PM to call these out here in the slide deck. If you have questions, please contact your Track PM. See slide 5 in this template for a complete list of Tracks and TPMs.
  • #10: Exercise 1 (15 minutes) – number of exercises and length may vary by session No presentation here Instructor/presenter sets the stage for what will be accomplished in this lab or exercise. Attendees should begin stepping through the 1st exercise of the lab