Skip to content
← Back to Community
Online chess game - better than chess.com ;)
Profile icon
rafrafraf

take a look!

showcase

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

Voters
Profile icon
max0224
Profile icon
AidanseojunLee
Profile icon
Aidan0921
Profile icon
FranciscoEspin5
Profile icon
ArszenManfredi
Profile icon
XavierWiddowson
Profile icon
AtkinSmedley
Profile icon
Technolamb
Profile icon
RyanBardini
Profile icon
ShlomoYoulus
Comments
hotnewtop
Profile icon
QuickV

This is finally on trending!

It DESERVES to be on trending :)

EDIT: Wow so many updoots ;-;

EDIT 2: Come on guys let's try to hit 50 updoots!

Profile icon
ruiwenge2
Profile icon
ruiwenge2

@QuickV usually when a post gets to 20 upvotes within 2 days it gets on trending

Profile icon
QuickV

lol k :)... Sorry for the late reply, repl.it was broken yesterday... @ruiwenge2

Profile icon
ruiwenge2

@QuickV really?

Profile icon
QuickV

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

Profile icon
RahulChoubey1

@QuickV it does that sometimes

Profile icon
QuickV

lol, did that as I tried replying to this. @RahulChoubey1

Profile icon
QuickV

@QuickV usually when a post gets to 20 upvotes within 2 days it gets on trending.

Pretty sure that works for comments too, because mine is now stuck at the top ;-;

@ruiwenge2

Profile icon
plscodeinjava

butttttttttttt not better than lichess ;)

Profile icon
rafrafraf
Profile icon
chen2508

Definitely
@plscodeinjava

Profile icon
QuickV

lol as of this moment you have 404 cycles .-.

@plscodeinjava

Profile icon
daCynicalbOi

YOU USED THE CLASH ROYALE EMOTES AND MESSAGES

Profile icon
coughdrop1

@daCynicalbOi yeah lol

Profile icon
Whippingdot

Updoot just because you tailored the game to my needs ;)
image

Profile icon
Whippingdot

it just says waiting...waiting...waiting...waiting... :( @Whippingdot

Profile icon
Bookie0

Also, for some reason I can't move anything here. I just made a game, copied and shared the link, and the game started, but I can't drag any pieces, dont' see the emotes or the notation, and can't scroll down. (I'm on FireFox, and it worked well on Edge)

Screen Shot 2021-07-28 at 3.01.39 PM

Profile icon
rafrafraf

@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!

Profile icon
Bookie0

@rafrafraf Yeah :(

No problem though, thx and gl! :)

Profile icon
mollthecoder

@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.

Profile icon
sofomon

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.

Profile icon
MarcusWeinberger

Maybe a matchmaking system, or even a list of waiting games would be good. This is absolutely brazy though

Profile icon
sojs

ya.. maybe an option to list your game as public and have it appear in ia list on the homepage. @MarcusWeinberger

Profile icon
DChiltonJr

This is insane, however long it took you to do this, great work!!

Profile icon
QuickV

Fill the homepage with...

e

Profile icon
PixiGem

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.

Profile icon
rafrafraf

@PixiGem ahahaha thanks ?

Profile icon
ahkid7674

@PixiGem I am unable to use chess.com as i have a school chromebook so rafrafraf is my only option :D

Profile icon
isum1

@JULIODIAZ1 my school banned lichess but not chess.com for some reason

Profile icon
pzrepl

OMGGGGG pog

Profile icon
TheBuffzie

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.


Profile icon
LinuxBytes

@TheBuffzie therefore switch to chrome XD

Profile icon
TheWaterCapital

It also seems to work in MS Edge(yes i use edge)@TheBuffzie

Profile icon
natethemaker

@alemacoc use i explorer inter explorer gang on top

Profile icon
TheBuffzie

@alemacoc haha, yeah, better switch to chrome!

Profile icon
TheBuffzie

@LinuxBytes I use chrome! I was just checking :)

Profile icon
ELIZOU

Sorry for this disclaimer, there are no insufficient mating material and three-fold repetition draws. Did you implement other draws like stalemate?

Profile icon
ELIZOU

Overall it is a very cool project. I would really like to learn how to make games like these.

Profile icon
FlaminHotValdez

@ELIZOU and perpetual check

Profile icon
ELIZOU

@FlaminHotValdez yeah i think that is threefold repetition/ repetition position

Profile icon
FlaminHotValdez

@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.

Profile icon
EmilyYe4

kewl

Profile icon
sojs

wow! Cool game!

Profile icon
Inte

It has en passant! Finally a chess app that gets that part right

Profile icon
OlauPla

Impressive! I hope this gets min 1000 upvotes! Really hard work put in to this.

Profile icon
IN12

nice kekw lol

Profile icon
printHelloWorld14

This is really cool!

Profile icon
EpicGamer007

SO GOOD

Profile icon
blahthingy

cool

Profile icon
Bookie0

Really cool!!! I love those Clash Royale emotes lmao

Profile icon
rafrafraf

@Bookie0 thank you!!

Profile icon
cuber1515

Cool!

Profile icon
SleepySid

awesome

Profile icon
Yoplayer1py

Why did you make it? I am a very big loser in chess idk how to play lol

Profile icon
rafrafraf

@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

Profile icon
Yoplayer1py
Profile icon
VulcanWM

this is amazing!
maybe you can do a tutorial on flask_socketio?

Profile icon
PixiGem

So it uses uuid library or just the normal ID?

Profile icon
rafrafraf
Profile icon
InvisibleOne

Very well done as usual

Profile icon
rafrafraf

@InvisibleOne thanks!!

Profile icon
DSAIroha20

Best thing ever! so cool

Profile icon
rafrafraf

@DSAIroha20 thank you hahaha

Profile icon
JBloves27

epik :3