A website where all players vote for the next move on the chessboard.
No followers yet
Once you ship this you can't edit the description of the project, but you'll be able to add more devlogs and re-ship it as you add new features!
Working on the chess engine, in order to code the checkmate logic i first need to code a function to get all the valid moves, i am adapting my isMoveValid() function for this. I also did some debugging of the firebase because it wasn't behaving as i would have liked.
It has been a while. I have been locked in trying to fix all the problems that where popping up everywhere. I finally got the user voting to work. I did a major redesign and i am currently working on hooking up stockfish to my app.
Finally got the firebase database working and successfully syncing between clients. I can finally go to sleep now. 😴:/ It's 3 in the morning. This is the first and probably last time i will use firebase ... But yeah, goodnight.
Frustrating errors while trying to deploy the server side AI. This is my first time using any kind of database. Very frustrating :/ But errors are finite, so eventually we will get there 💪
Moved all game logic to the firebase database, this was my first time working with firebase, or any kind of database so it was a bit difficult at first but i figured it out eventually. So now i should finish the chess game logic and improve the voting ability and add some sort of AI opponent.
I made the mistake of writing all the gamelogic using the dom as a source of truth. So i will be rewriting all of that so the dom only is a visualisation of the gamestate. This will also make it easier to implement the realtime database.
Added the pieces, and very very basic movement for the pawns, i am still working on making the other pieces move. But i am gonna catch some sleep before i finish those.
Created a basic voting system, next i will be working on the chess functionality, i will have to find png's for the pieces and code the game logic. After that we can try to connect it to firebase for the server functionality.