I Built a Real-Time Game WITHOUT JavaScript... Does It Lag? (Ep. 11)
Can you build a real-time game WITHOUT JavaScript? 🎮 Watch this Java & HTMX demo where I test if server-side rendering lags during a 3-round speed run of Skull King using WebSockets. In this episode, we're testing the gameplay loop by shortening the standard 10-round game to a 3-round "Speed Mode." See how the server handles real-time state changes, card interactions, and scoring without any client-side frameworks. 📚 What You'll Learn: ✅️ How to implement a "Short Game" mode (3 rounds vs 10) ✅️ Real-time game state updates using WebSockets ✅️ Rendering dynamic UI updates with HTMX & CSS ✅️ Managing game logic entirely on the server (Java 25) 🌟️ SUBSCRIBE ➡️️ https://www.youtube.com/@cchacin?sub_confirmation=1 🛠️ TECH STACK: ✅️ Java 25 (Game Logic) ✅️ WebSockets (Real-time Communication) ✅️ HTMX (Frontend Interactions) ✅️ HTML & CSS (UI Styling) ❌ NO JavaScript Frameworks OR Libraries (React/Angular/Vue) ⏱️ TIMELINE: 00:00 - Intro 00:10 - Demo 01:25 - Outro 🔗 RESOURCES: • Skull King Game: https://www.grandpabecksgames.com/products/copy-of-skull-king%C2%AE • Source Code: https://github.com/cchacin/kalavera • JaCoCo: https://www.eclemma.org/jacoco/ • RecordBuilder Library: https://github.com/Randgalt/record-builder 📺 SERIES PLAYLIST: https://www.youtube.com/playlist?list=PLDzfPM08YCe7xhGB38q00FceVd-K-q_CF 👨💻 ABOUT THIS SERIES: I love playing Skull King with my family, so I decided to build a digital version while learning modern Java features. Join me on this TDD journey — we'll make mistakes, fix bugs, and build something real together! 🔔 Subscribe for 5 new episodes every week! #Java25 #TDD #Quarkus #GameDev #Programming #JUnit6 #WebSocket #HTMX #SkullKing #LearnJava --- 🙋♂️ Questions? Drop them in the comments! 🫂️ BE MY FRIEND: - Twitter 🐦️: https://twitter.com/CarlosChacin 🙆🏼️ WHO AM I: I'm Carlos, a Software Engineer looking to learn and share! ❤️️
Download
0 formatsNo download links available.