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

แชร์
ฝัง
  • เผยแพร่เมื่อ 14 มิ.ย. 2024
  • 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
  • วิทยาศาสตร์และเทคโนโลยี

ความคิดเห็น • 7

  • @alexeinunez778
    @alexeinunez778 3 หลายเดือนก่อน +14

    Can you show the developer experience? Debugging, making changes, seeing the changes update, building, shipping

  • @braiso_22
    @braiso_22 4 หลายเดือนก่อน +10

    Hi tom, do you have a github account where I can follow you? I would like to be able to see the code in this repository so I can implement something similar myself.
    Speaking of another topic, what do you think about compose multiplatform?

    • @tom-delalande
      @tom-delalande  4 หลายเดือนก่อน +5

      I don’t have anything public yet. I’m wanting to clean everything up and publish them in the future.
      I haven’t used it but from what I’ve seen so far it has the potential to be the holy grail. Writing native source code from a single code base would be a game changer. Have you had a play with it? What are your thoughts?

    • @eRatio
      @eRatio 4 หลายเดือนก่อน +2

      @@tom-delalande Would also be highly interested to see how this is implemented! Looking forward to the publish :)

    • @xMadingx
      @xMadingx 2 หลายเดือนก่อน +1

      Same here, would be highly interested in the code or a project getting started video! :)

    • @rick_er2481
      @rick_er2481 หลายเดือนก่อน

      Me too would gladly see the code

  • @kirillvoloshin2065
    @kirillvoloshin2065 3 หลายเดือนก่อน

    would be interesting to see how winning combinations are parsed)