Making Poker with HTMX: Real time multiplayer using SSR with Kotlin, HTMX and Tailwind

Published: 30 January 2024
on channel: Tom Delalande
3,414
131

I am continuing to explore HTMX with the Kotlin DSL for HTML. I really think this might be the only way I build websites going forward.

I'm pushing it in a weird direction today by building a server side rendered multiplayer game. I'm very happy with the result.

I enjoyed the user experience of using HTMX websocket and HTMX polling. This is a very nice developer experience that lets me build good looking websites quickly. I built this before I started using Tailwind UI but that may be something I look more into in the future.

Software engineering is completely changing and I look forward to a future where I don't have to write JavaScript. Which may be sooner than I expect -- I still need to look into KotlinJS to see what it can actually do.

0:00 - Poker demo
0:53 - Queue demo
1:07 - Explanation
3:03 - Main menu UI
3:37 - Main menu server
4:13 - Queue UI
4:29 - Queue endpoint
4:43 - Game UI
6:48 - Game model
8:00 - Game web-socket
8:44 - Actions menu
9:36 - Final thoughts


Watch video Making Poker with HTMX: Real time multiplayer using SSR with Kotlin, HTMX and Tailwind online without registration, duration hours minute second in high quality. This video was added by user Tom Delalande 30 January 2024, don't forget to share it with your friends and acquaintances, it has been viewed on our site 3,414 once and liked it 131 people.