Build An Online Chess Game
Learn how to create a complete online chess game using Node.js, SocketIO, MySQL, and Redis. This course is perfect for JavaScript developers who want to enhance their server-side skills and build interactive games. Gain expertise in server creation, database connectivity, client-server communication, DOM manipulation with VanillaJS, and more. Recommended for JavaScript developers seeking to master Node.js, SocketIO, and game development. Ensure you have the same versions of npm packages, MySQL, and Redis installed locally for optimal learning.
What you’ll learn
- How to use NodeJs to create a backend
- How to use SocketIO
- How to use MySQL with NodeJs
- How to use Redis with NodeJs
- How to create an online game using NodeJs and SocketIO
- How to use a view engine with NodeJs
- How to use VanillaJs to update or create DOM Elements
- How to make client-server communication using SocketIO
- How to make a Chess game using Javascript
In this course we are going to create from scratch a complete online chess game. Also we are going to setup a MySQL database to store the users info (username, email, score, played games etc.) and we are going to use also Redis. We are going to set up a basic express server, and for our view engine we are gonna use ejs. For our server we are going to use different routes to displaying the pages and different routes for the api. We are going to use a lot of socket events so by the end of this course you’ll have mastered SocketIO. I will provide all the styling in the resources folder in the first section because this isn’t going to be a CSS tutorial, because I want this tutorial to help you focus on your javascript skills. What you will learn in this course:
How to create a server with nodejs
How to connect to your MySQL database from your nodejs server
How to connect to a Redis client from your nodejs server
How to use SocketIO for client-server communication
How to use VanillaJs to create or update DOM Elements
How to create a complete chess game using javascript
How to setup a MySQL database for your game
How to create and use MySQL procedures
How to create middlewares to authenticate users
How to store cookies
How to use jwt authentication
How to hash user passwords
*************************************************************************************************
Since some of the npm packages may have updated when you take this course, it would be better if you used the same versions with me. Also you should have locally installed MySQL and Redis. I use MySQL 8 and Redis 3.0.5 (I used msi installer for redis), but you can use newer versions for redis.
*************************************************************************************************
Who this course is for:
- Javascript developers who want to learn how to create a server
- Javascript developers who want to learn how to use socketio
- Javascript developers who want to learn how to create an online game
- Javascript developers who want to learn how to use nodejs with mysql, redis and socketio
User Reviews
Be the first to review “Build An Online Chess Game”
You must be logged in to post a review.
There are no reviews yet.