Open comments for this post
FINALLY DEBUGGED
I’ve spent hours debugging a hidden problem with the instantiation and dependency injection. I’ve saw so muchb problems about reading undefined object keys that i’m done for today. Now the app accepts player entering the rooms, but i thiunk i’m gonna need a json-validator middleware soon. The serrver just crashes. Btw sorry by my awful console client. I aklso declare the use of AI to help me understanding why my websockets were being blocked (i was using the console on secure pages). I’ve learned a lot
Open comments for this post
Devlog 3
The basic network handling was finally developed.
I`ve worked on the architecture.
Now the websocket basic handshake is ready so i can focus on the command architecture and the parser
Open comments for this post
Devlog 2
I’ve implemented server-side drawing functions. The image is distorced since the terminal is uneven, but’s all because a temporary log function. The server shall not display anything.
I’ve implemented the canvas (Array of bytes) and circle, rect and line drawing with Bresenham algorithms. Also the room interface and player manegement were scaffolded. The main loic with websockets nor the client still ready yet
Open comments for this post
Scaffolding the project
I’ve just started coding my first stardance project!
the idea is to be a hacker gartic, where you draw with function-like commands