YeetPoker
Godot 4.4 · in active developmentA dice game you play with your whole phone. You shake and tilt the device to move the dice cup, using the phone's motion sensors instead of buttons. It runs as an Android app for all mobile deices even tablets, but only works with the Google Chrome browser. Only the "Practice" button works at the moment. "Multiplayer" returns a black screen as of now because it is currently in active development.
Open the link on your phone. The game reads your phone's motion sensors, so a laptop won't do much.
-
Problem
Godot 4.4 has no motion-sensor support in web builds, so the browser version couldn't read the phone at all.
-
What I did
Wrote a
Sensors.gdautoload that uses Godot's JavaScriptBridge to listen to the browser'sdevicemotionevents, then swapped it in for the engine's built-in accelerometer and gravity calls. Same game code, now works on the web. -
Shipping
Source lives on GitHub. The web build exports to its own branch through a git worktree and deploys to a self-hosted Forgejo server, so a release is export, commit, push.
-
Next
Online multiplayer over WebSockets, so phone and browser players can share a table. The plan is a headless Godot server on my home Proxmox box, exposed securely through a Cloudflare Tunnel.
