No description
Find a file
2025-06-07 14:28:06 -05:00
addons/ez_rtc Added player name lookup convinence function 2025-05-26 15:15:29 -05:00
Assets Added settings page 2025-01-28 22:00:37 -06:00
Client Removing RTC Global References 2025-04-25 18:26:42 -05:00
Host Fixing compiler warnings 2025-05-26 15:21:45 -05:00
Input Back to working demo 2025-05-03 16:47:12 -05:00
lib Input via Web RTC 2025-01-03 01:55:11 +00:00
.gitignore Adding git ignore 2024-12-01 19:48:11 -06:00
export_presets.cfg Refactor and upgrade 2025-01-07 21:49:28 -06:00
LICENSE.json Input via Web RTC 2025-01-03 01:55:11 +00:00
LICENSE.json.uid Input via Web RTC 2025-01-03 01:55:11 +00:00
LICENSE.libdatachannel Input via Web RTC 2025-01-03 01:55:11 +00:00
LICENSE.libjuice Input via Web RTC 2025-01-03 01:55:11 +00:00
LICENSE.libsrtp Input via Web RTC 2025-01-03 01:55:11 +00:00
LICENSE.openssl Input via Web RTC 2025-01-03 01:55:11 +00:00
LICENSE.plog Input via Web RTC 2025-01-03 01:55:11 +00:00
LICENSE.usrsctp Input via Web RTC 2025-01-03 01:55:11 +00:00
LICENSE.webrtc-native Input via Web RTC 2025-01-03 01:55:11 +00:00
project.godot Back to working demo 2025-05-03 16:47:12 -05:00
README.md Updated readme 2025-06-07 14:28:06 -05:00
webrtc.gdextension Input via Web RTC 2025-01-03 01:55:11 +00:00
webrtc.gdextension.uid Input via Web RTC 2025-01-03 01:55:11 +00:00

Stonks

Gameplay Description

A couch co-op game where you can rug-pull your friends!

Everyone takes a turn controlling the price of a stock. The price may go up and everyone can get rich! Be wary though, what goes up must come down!

Which of your friends is will go broke, and who ones will rise to the top?

Technical Details

This game is built using the Godot Engine.

We make use of WebSockets to connect to our Server. This server will connect this game to 2 or more players using the custom thin clients. Once the first player begins the game, the lobby is closed and all players are connected to the game via WebRTC.

This approach gives us the best of both worlds. We can send users to a trusted web page where the client is loaded onto their phones. They then connect to the server to join the lobby. Then we rely on the WebRTC protocol to send information from the hosting computer directly to the players. This allows us to send most of our expensive network traffic at no cost, and with better latency than traditional means.