- GDScript 100%
| addons/ez_rtc | ||
| Assets | ||
| Client | ||
| Host | ||
| Input | ||
| lib | ||
| .gitignore | ||
| export_presets.cfg | ||
| LICENSE.json | ||
| LICENSE.json.uid | ||
| LICENSE.libdatachannel | ||
| LICENSE.libjuice | ||
| LICENSE.libsrtp | ||
| LICENSE.openssl | ||
| LICENSE.plog | ||
| LICENSE.usrsctp | ||
| LICENSE.webrtc-native | ||
| project.godot | ||
| README.md | ||
| webrtc.gdextension | ||
| webrtc.gdextension.uid | ||
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.