Online chess game - better than chess.com ;)
take a look!
features:
- mobile support
- real time moves
- drag or click to move
- all available moves shown
- simple emote/phrases communication
- stores and displays move notation
- en-passant, castles and promotions ofc
How to use it:
click the copy to clipboard button and send the url to whoever you want to play with and wait until they open it. the game will automatically start.
if you have noone to play with, just open two tabs and create game in one of them and paste the url in the second ;)
note
chess.com may have slightly inspired me lol
hope u guys like it, took me a lil bit to code it ahaha
in total its like 1100 lines of py, 900 js and 600 css lmao
butttttttttttt not better than lichess ;)
@plscodeinjava ahahahha
Definitely
@plscodeinjava
lol as of this moment you have 404 cycles .-.
YOU USED THE CLASH ROYALE EMOTES AND MESSAGES
@daCynicalbOi yeah lol
it just says waiting...waiting...waiting...waiting... :( @Whippingdot
@Bookie0 oh damn that sucks, i dont have firefox so ive only tested with chrome:/ it could be the sound effects maybe that are making it not work in firefox as the console error could stop code from running after it in firefox maybe? Im quite busy now but ill try look into it sometime. Thanks!
@rafrafraf Yeah :(
No problem though, thx and gl! :)
@rafrafraf I know why it happened on firefox. By default, firefox runs everything in strict mode so the way to fix the site is to put "use strict"; at the top of your javascript file (or many javascript files, seeing your javascript is modular) to simulate firefox's default state and then debug the error from there.
Wow, that truly looks great! I used to play chess.com, and I have to tell you it's one of the most terrible online chess games. Besides that, I'm amazed that young people don't ignore this game and they keep on developing more and more online chess games. That's truly amazing. I mean, this game also helps develop logic, strategic thinking, and tactic. My son also adores cheese, and now he is taking a course at https://www.chessable.com/ . Due to their lessons, he even won a couple of games against me and his grandpa.
Maybe a matchmaking system, or even a list of waiting games would be good. This is absolutely brazy though
ya.. maybe an option to list your game as public and have it appear in ia list on the homepage. @MarcusWeinberger
This is insane, however long it took you to do this, great work!!
No it is not! The title is just a JOKE. Chess.com is way better. you can make friends, it has rating, tutorials and DUCKING more STUFF! BTW nice job, I never thought we can make a miracle using flask.
OMGGGGG pog
Amazing work, @rafrafraf 👏
But you have to fix that Firefox issue, as I tried in Firefox it DIDNT WORK! failed to work, whilst it worked well in Chrome.
@TheBuffzie therefore switch to chrome XD
It also seems to work in MS Edge(yes i use edge)@TheBuffzie
@alemacoc use i explorer inter explorer gang on top
@alemacoc haha, yeah, better switch to chrome!
@LinuxBytes I use chrome! I was just checking :)
Sorry for this disclaimer, there are no insufficient mating material and three-fold repetition draws. Did you implement other draws like stalemate?
Overall it is a very cool project. I would really like to learn how to make games like these.
@ELIZOU and perpetual check
@FlaminHotValdez yeah i think that is threefold repetition/ repetition position
@ELIZOU no repetition is when the same exact position happens 3 times in a game, and perpetual check is when one side can endlessly check the other.
kewl
wow! Cool game!
It has en passant! Finally a chess app that gets that part right
Impressive! I hope this gets min 1000 upvotes! Really hard work put in to this.
nice kekw lol
This is really cool!
SO GOOD
cool
Cool!
awesome
Why did you make it? I am a very big loser in chess idk how to play lol
@Yoplayer1py you want the truth? Ahahha well i was stuck isolating in a hotel for a few days and needed to get a new coding project out of my system so that i could carry on with my urrent work in progress project for a few months - dogemail.😂 so yeah i smashed chess out in 4 days of over 10 hour sprees of coding
this is amazing!
maybe you can do a tutorial on flask_socketio
?
Very well done as usual
@InvisibleOne thanks!!
Best thing ever! so cool
@DSAIroha20 thank you hahaha
epik :3
This is finally on trending!
It DESERVES to be on trending :)
@QuickV yep
@QuickV usually when a post gets to 20 upvotes within 2 days it gets on trending
lol k :)... Sorry for the late reply, repl.it was broken yesterday... @ruiwenge2
@QuickV really?
Well not broken, but whenever I tried to reply to a comment it would just say "Log in to comment", even though I was logged in (I checked in a new tab) @ruiwenge2
@QuickV it does that sometimes
lol, did that as I tried replying to this. @RahulChoubey1
Pretty sure that works for comments too, because mine is now stuck at the top ;-;
@ruiwenge2