Overview
Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Learn how to deploy a multiplayer online game and run it on a remote server in this comprehensive 36-minute tutorial. Follow a step-by-step guide to create, host, and connect a database to the server. Explore essential topics such as logging into Linode, creating a database cluster and Linode instance, setting up environment files, installing necessary dependencies, and implementing database functionality. Discover techniques for connecting players to components, storing opponent data, and integrating the database cluster information. Test the game application, implement win/loss tracking, and deploy the app to Linode. Fine-tune the deployment process by changing IP addresses and creating server-side environment files. By the end of this tutorial, gain the knowledge and skills to successfully deploy and run your own multiplayer online game.
Syllabus
Introduction
Login to Linode
Create Database Cluster
Create Linode
Create .env File
Install psycopg2
Create db.py
Use Database in main.py
Connect Players to Components
Store Opponent Data
Drop-in Database Cluster Info
Test Game App
Draw Wins/Losses
Test App
Deploy App to Linode
Change IP Address the App Uses
Create .env File on Server
Test App Again
Conclusion
Taught by
Linode