Klog, Web-based Cloud Gaming Service
Video demo: https://www.youtube.com/watch?v=koqWB1VKflo
Klog is an open source Cloud Gaming Service building on WebRTC using browser as the main platform.
Klog aims to bring the most convenient gaming experience to gamer. You can play any games on your browser directly, which is fully compatible on multi-platform like Desktop, Android, IOS. This flexibility enables modern online gaming experience to retro games starting with NES in this current release.
Note: The current state of POGO are not optimized for production. The service will still experience lag under heavy traffic. You can try hosting your own service following the instruction in the next session.
Feature
- Cloud gaming: Game logic is handled in server and streamed to user.
- Cross-platform compatibility: The game is run on webbrowser, the most universal builtin app. No console, plugin, external app or devices are needed. The device must support webRTC to perform streaming. Joystick is also supported.
- Vertically scaled: Services are distributed. The closest server with highest free resource will be assigned to user. (In development)
- Cloud storage: Game state is storing on online storage, so you can come back to continue playing in a game.
Run on local by Docker
You try hosting the server yourself by running ./run_local_docker.sh
. It will spawn a docker environment and you can access the emulator on localhost:8000
.
Development environment
Install Golang https://golang.org/doc/install . Because the project uses GoModule, so it requires Go1.11 version.
Install dependencies
# Ubuntu
apt-get install -y pkg-config libvpx-dev libopus-dev libopusfile-dev
# MacOS
brew install libvpx pkg-config libopus libopusfile
# Windows
... not tested yet ...
And run
./run_local.sh
- The scripts includes build the binary using Go module
Documentation
Follow up
This project demos the simplest cloud game with NES. Integrating with other emulator like GBA, NDS will also be possible. I'm welcome for the contribution.
Credits
Contributor
Nguyen Huu Thanh
https://www.linkedin.com/in/huuthanhnguyen/
Tri Dang Minh
https://trich.im