Skip to content
This repository has been archived by the owner on May 19, 2024. It is now read-only.
/ cloud-gaming Public archive

Play computer games on web browsers any time and anywhere, without download and installation.

Notifications You must be signed in to change notification settings

wanjohiryan/cloud-gaming

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

68 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CLOUD GAMING

This project allows users to play computer games on browsers, without download or installation, just at the push of a button. This means that users can play AAA games on their low-spec computers or smartphones or even smart TVs anywhere and anytime. The only requirement is fast and reliable internet.

An extension that allows users to let other users play games on their computers and make money is Cope Gaming.

Playing Demo

How to run

  • Start server:
cd coordinator
./run.sh
  • Start client:
cd web
npm install
npm start

Design

This project is inspired by cloudmorph. The basic idea of the project is running games in Wine within Docker containers. The video and audio from games are captured by Xvfb, Pulseaudio and processed by ffmpeg and then streamed to browsers of users using WebRTC. Besides that, input from users (e.g. mouse clicks, keyboard events) are also captured and delivered to Syncinput using WebRTC Data channel. Syncinput is a process that receives those input and simulate relevant events for the games using WinAPI.