Please sign in to access this page

Poker Over SSH -- SSH server, website & Docker support

Poker Over SSH -- SSH server, website & Docker support Used AI

23 devlogs
35h 29m
Created by QinCai

Play multiplayer Poker through SSH, with AI and wallet support.

MAKE SURE YOU HAVE an SSH keypair BEFORE connecting to the game server (see README or website for details)

This is a team project built with @DuckyBoi_XD. SEE ALSO https://summer.hackclub.com/projects/11911

Timeline

Earned sticker

Short session i know, but i fixed the auth to disable password and keyboardinteractive

Update attachment

Added guest account notice

Update attachment
Earned sticker

Now when a user connects as guest, they are automatically assigned to a guest account (guest1, guest2, guest3, etc). I also added resets to the wallet and history everytime the guest disconnects.

released v1.3.0

Update attachment

Added guest user support, without any auth (so no keyboard-interactive, sshkeys and whatsnot).
PLAN: allow multiple guest accounts: guest1, guest2, guest3, etc. Reset guest accounts if the guest is inactive.

Update attachment
Earned sticker

Add SHA256 host key for SSH

Update attachment

Not much, but modularised the 2 fat files, game.py and ssh_server.py. ig its more maintainable now

Update attachment

I tried to integrate a Ride the Bus game into the poker ssh server, but it was too complicated so i gave up. however, all the known bugs in the original game are now fixed, including the issue where you get folded if you resize your terminal window. See screenshot below :))

Update attachment

Made the AI smarter :)) now they are more likely to call than just fold

Update attachment

I am trying very very hard to actually make this game production-level, therefore releasing v1.0.0.

Update attachment

Hack Club Nest is wayyy too unreliable, so I migrated the whole server infrastructure to AWS. I changed all references to port 23456 as well, to 22.

Update attachment

Added a HELP button to display the helper (SSH copy helper)

Update attachment

https://github.com/poker-ssh/Poker-over-SSH/tree/main?tab=readme-ov-file#play-the-public-demo-fast

added that part of readme ^ and deployed it to AWS. Also added a popup to the website

Update attachment

YAY FINALLY GOT PUB/PRIV key auth to work!! see screenshot attached if you want to see more

Update attachment

Trust me, i really tried implementing the auth feature myself, but I couldn't. so i had to give the work to Copilot Agent :sob:. See https://github.com/poker-ssh/Poker-over-SSH/pull/40

Update attachment

I tried to make a feature we wanted to implement a long time ago: private/public key authorisation. this decreases the chance of someone impersonating others using ssh user@host. its not really working now, though :((

Update attachment

Released version 0.16.0 (https://github.com/poker-ssh/Poker-over-SSH/releases/tag/0.16.0), fixed the database bug (i think and hope). deployed it, so we are in a testing phase

Update attachment

Made changes to the MOTD section to add legal information (disclaimer), and other stuff

╭───────────────────────────────────────────────────────────────────╮
│ Poker over SSH IS PROVIDED 'AS-IS', with ABSOLUTELY NO WARRANTY,  │
│ to the extent permitted by applicable law.                        │
╰───────────────────────────────────────────────────────────────────╯

Copyleft (LGPL-2.1), Poker over SSH and contributors
By continuing to interact with this game server, you agree to the terms of the LGPL-2.1 license (https://www.gnu.org/licenses/old-licenses/lgpl-2.1.html) or see the project's LICENSE file.

GitHub Repository: https://github.com/poker-ssh/Poker-over-SSH
Please file bug reports: https://github.com/poker-ssh/Poker-over-SSH/issues
Update attachment

i think i fixed some bugs with the SSH server. also added healthcheck, integrated into the server. we worked more on the website, and added a status page (raw html, css, js) @ https://poker.qincai.xyz/status.html, and UptimeKuma @ https://poker-status.qincai.xyz/status/pos-nest. Attached is the UptimeKuma monitor

Update attachment

Added command tgc and togglecards to toggle card visibility. also added Docker support, so people can run the server themselves.

Update attachment

Made AI smarter (using my OpenAI proxy), fixed a few bugs, added a few features, and started working on the website!

Update attachment

added many commands such as wallet and server. also fixed some logic bugs. added support for persistent wallet

Update attachment

Deployed the stable server to Hack Club Nest. Fixed CTRL-C and CTRL-D, window resizes, and bunch of other bugs.

ssh <username>@play.pos.qincai.xyz -p 23456 to connect!

Update attachment

Guess what, i guess its working now!

Update attachment