8d71077 feat: display current player name in header
~whereswaldon pushed to ~whereswaldon/pointstar git
A simple GUI card game built to practice using gio.
The game runs on all desktop platforms and in the browser. Most game mechanics are implemented with the major exception of an end condition.
This game is rough. There's little animation or themeing of any kind. It isn't mobile friendly yet either. It's loosely based on Condotierre.
First, follow the installation instructions for Gio for your current OS.
If you have Go 1.14+:
git clone https://git.sr.ht/~whereswaldon/pointstar
cd pointstar
make
Then connect by either opening your browser to http://localhost:8080
or opening a new terminal, navigating to the pointstar directory, and running ./pointstar
.
You'll need to connect more than once to play (or spawn some AI players), as it's a multiplayer game!
You can also expose localhost:8080
to the world with a service like ngrok and then other people can connect to your game server by running the client as: ./pointstar -ws-url wss://example.ngrok.io/ws
. Other players should be running the same commit as you for this to work smoothly.