Online Chess Platform banner

Online Chess Platform

9 devlogs
34h 24m 27s

a fun, simple little online chess playing platform where users can play real time online chess matches with others.

Demo Repository

Loading README...

rip_super

Shipped this project!

Hours: 34.41
Cookies: 🍪 543
Multiplier: 15.77 cookies/hr

I finally finished my chess app! its powered by a bitboard chess engine i wrote in rust, which i then compiled to wasm so it can be used in the browser. theres a bunch of other features as well, so if you want to see them all, check out the readme! I think that hardest part of making this project was all the websocket stuff and all the message sending, and the making of the original rust engine itself. However im really REALLY proud of how it turned out, i think it looks really nice, the ui and all, especially the game start animation! However, because i am not that popular, so a lot of people probably won’t use this, if you are just sitting there and no one is joining your match, just open an incognito window and select the same time control so you can enter the game. I know its not the best solution, but I’m planning to reship this project later with a custom chess bot i write in rust so that if your waiting for a long time, you can play the bot instead. (that is if i finish the bot before flavortown ends lol). ok bye!!

rip_super

100 commits!!!! lets gooo!!!!! also added that chat so users can yap w/ each other. also because of my amazing coding skills, people could, uh, XSS using html in the usernames, so i fixed that too. i lowk think this project is like almost ready if not completly ready to ship, since idk what else there really is left to add lol. mabye code like a custom chessbot in rust, and then wasm-ize it so like if there arent enough ppl online, instead of just sitting there, you get auto paired with the bot. thats prob what ill add next tbh. alr cya!

Attachment
Attachment
0
rip_super

finally added that cool chess.com style animation (lowk i think mine looks better than chess.com’s!!) also added custom profile pics because yes. like honestly, i only really have to add like a chat, and then im pretty much done with the entire project! i honestly dont think there’s anything left to add, but like if you think of smth lemme know and ill like reship or smth. also im at 99 commits on my repo lol almost there!!! the chat feature is gonna be the 100th commit, cant wait!!!

Attachment
Attachment
0
rip_super

so the settings page, now actually does in fact do something, and i also added like this cool username banner that can like show all your things, like your chosen theme, pieces, and your username. im planning to add like that chess.com animation where you can see the board of you like opponent before the match starts, but yeah. also i added like a move history thing, so you can go back and forth through the moves you played. next up is probably some kind of chat maybe, definitely the chess.com animation, user profile pictures, and game review(? maybe powered by lichess or some other game review software)

Attachment
Attachment
0
rip_super

finally added that settings page!! now you can like customize your piece sets, theme, and your username (which currently actually does nothing yet lol, but im planning to add like a chatting system or something where the usernames do actually matter, i promise). i also added a few other thingies like premoves, cancelling your queued matches, some cleaner animations and stuff, yk just like random things. anyway yeah i think the next thing ima work on is gonna either be the chatting thing, mabye adding like a little profile underneath the board so you can like see your username, (custom profile pics mabye), the chat, or something like that. cya

Attachment
Attachment
Attachment
0
rip_super

i added more time controls!! so now you can play more than just 10 min games, and yeah, thats pretty much it. idk abt the time control styling, i tried to make it similar to the styling of the playing page but idk if it matches that well, i might end up changing it later. who knows?

Attachment
0
rip_super

added clocks! ill eventually add more than just 10 min games and the ability to have select from all the different types of games. also changed the pieces and stuff up a bit, hopefully they look better now, if they don’t welp too bad your just gonna have to wait until i implement settings. ok bye

Attachment
0
rip_super

finally added multiplayer, and a somewhat nice looking home page! i tried leaning into like a blue + brown color scheme, but i may end up changing the knight to a different color that blue, maybe white idk. but you can now play matches with other people!!!!! I also have a draw/resign feature so you can end the games early if you want. I really want feedback on the colors since idrk if they look good or not, so please take a look and tell me something!!

Attachment
0
rip_super

just added a gui, so its no longer just a copy of the cli! i added sounds, move highlighting, and piece dragging, and ik it looks exactly like lichess, but before i ship it ill make sure to change the board to look better, but if you like the lichess feel, im thinking about adding some customizability to the whole thing to make it look how you want. next up is the server, and mabye time keeping of some sort, but definitely the next milestone is going to be online play, so get ready for that!

Attachment
0
rip_super

just finished the chess engine in rust, and turned it to wasm!! the chess engine itself uses bitboards for baord rep, and i also have a cli crate in the repo, so you can use the engine through that as well. you can download the repo and statically serve the frontend directory, and thats how you can use the wasm version of the engine, for now i have it hooked up to be basically a 1:1 copy of the cli, just in the broswer, but next time im going to add an actual chess playing gui and everything. (also ill have to clean up the readme at some point lol)

Attachment
0