You are browsing as a guest. Sign up (or log in) to start making projects!

MrKnowledge

@MrKnowledge

Joined June 27th, 2026

  • 6Devlogs
  • 2Projects
  • 0Ships
  • 0Votes
Open comments for this post

9h 52m 39s logged

Nothing big but still a lot

Expanding Game and Player

In the last devlog I started with Spring and just added these classes. Now those classes have a lot of additional functions to make them work for poker some of the game functions will move later to the websocket. Although they had a big upgrade they are not complete. The Game class is still only for poker, when I’m done with poker I’ll try to seperate them for a cleaner structure.

Something you can see

The frontend has now the ability to load and render the players with all of their data(chips, Name) to the correct spot. This is one of the functions that will later be present in the websocket but for now are just an endpoint in the server.

Cookies, yum so tasty

I created my first cookie, to store the playerUUID. Cookie are for the game very Important so I dont have to store these things in the js frontend, but I a storage that was designed for these things.

0
0
3
Open comments for this post

12h 42m 46s logged

Time for a new Backend

Because the backend I had felt like to basic stuff that a framework could do much better I started using Spring framework. It reduced so much work and improved my code by a lot. So I deleted my manual written server code and went for the framework. And it was a great decision.

Spring

It is a great framework that makes adding endpoints very easy. And using the RestControllers as well as normal Controllers make communication a lot easier via JSON. And the overall structure is supported by the good structuring of the generated template.

Logic

I created the classes Game, Poker and Player but I’m not sure for the final server/game structure jet

Frontend

To test the backend you need of course a corresponding frontend. I added an start page to enter your name, create and join an game. I also added a function that takes a value and turns in into chip stacks. Next is the websocket to run the actual poker game along with the frontend running this

0
0
6
Open comments for this post

1h 45m 25s logged

Backend time. To give the game a function and not to be just some unfinished design I wrote an Java HTML Server that will replace my live preview local webserver. At the moment the server is just loading the website poker.html and all of the textures. but because of my file structure the fileHandler didn’t wanted to work with 3 Roots but eventually I got it to work. I wrote this server with help of an ai assisted version of an html server from an previous private project. Next I will add the functionality to create new games (for new games the frontend of this will come later) and to load such an game

0
0
8
Open comments for this post

2h 30m 55s logged

The front end is visually done. In the center is the playing table with the pot and community cards and on the bottom you got 4 buttons to Raise Call Fold and Check. Now I will continue with the Code for the room generation in both frontend and backend.

0
0
9
Open comments for this post

9h 51m 9s logged

Hi this is the first post of my project where I recreate some card games. The first I chose to do is poker Texas Hold’Em. In this first post I present you the design for a player but there is unfortunately just the design by now I spend to much time on this. I made too many small adjustments and also changed the unit of the chips and cards that took so much time to finally make them appear in the right way it. the pattern reminds a little of honeycombs. The next steps are to add buttons and the positioning of the community cards and the chips in the pot. Additionally I need to add the positioning of the players when playing with 2-8 players (oh and maybe also a portrait mode for phones)

0
0
4
Open comments for this post

3h 43m 13s logged

Design of my KnowledgeBoard finally done. PCB design DONE, case design DONE and the KMK firmware DONE. My first logged hackatime hours trough the KMK firmware allowed me to publish my first devlog. So here you get a view into the design of my MacroBoard. FunFact: the most hackatime logged is from my README and journal then from the firmware. I’ll now try to get the joural to get accepted. Have a nice day.

0
0
24

Followers

Loading…