Skip to content
← Back to Community
CHESS!!!
Profile icon
MasterG49

https://repl.it/@MasterG49/Chess
It's been my dream to code this, and now I finally have the skills to do so! (Note: I haven't added check/checkmates yet)

Voters
Profile icon
MikimouseCZ
Profile icon
VitalinaTsybuln
Profile icon
JeriahelWiley
Profile icon
MidhileshKasu
Profile icon
mhmcwatters23
Profile icon
PhayX
Profile icon
AllenSmith3
Profile icon
Student-KellerK
Profile icon
chiranthbk
Profile icon
saarfredj
Comments
hotnewtop
Profile icon
XanthusPettitt

what is "FEN"

Profile icon
MasterG49

@XanthusPettitt https://en.wikipedia.org/wiki/Forsyth%E2%80%93Edwards_Notation
This tells about what it is. It's a notation that tells where things are on the chess board. So if you wanted a specific board setup you could use it. In this program it's not exactly correct, and it only uses the first part.

Profile icon
XanthusPettitt

@MasterG49 oh ok cool and I didnt expect you to still be alive on this cuz its been on here for about 3 years

Profile icon
MasterG49

@XanthusPettitt hahaha yeah it's been a long time since I made this! It's not really a very good program, it doesn't even see checks or checkmates. I made a better one using Python + Pygame a few months ago that does though.

Profile icon
XanthusPettitt

@MasterG49 ah well I found this bc I'm making a chess game any tips?

Profile icon
MasterG49

@XanthusPettitt Ooo I was just looking at your profile, are you making it in python? and are you making it only using the terminal?? I love that idea.

Yeah chess is a lot more complicated than I thought is what I learned while making this game haha. Make sure you find all the little rules and try to implement them. But start with the basics

Profile icon
XanthusPettitt

@MasterG49 ok thank you!

Profile icon
brenchleyaa

It's a good game but you should code in check and check mate when I played I put my opponent in check and it let them make an illegal move

Profile icon
zach_speed1

You should add a bot

Profile icon
Rishan001

Umm.. how to use this?

Profile icon
MasterG49

@Rishan001 https://chess.masterg49.repl.co/
paste that into your web browser, then click and drag the pieces where you wan them to go. Normal rules of chess, although I haven't implemented check/checkmate. White goes first, it's a two player game, so the computer won't go for you. Have fun!

Profile icon
Rishan001

@MasterG49 Seems I’m having trouble with it since I’m on an ipad

Profile icon
MasterG49

@Rishan001 yes that would make sense, it is not made for mobile, sorry!

Profile icon
NoNameByProgram

great job! i'm doing something similar with fen string too :D

Profile icon
MasterG49

@NoNameByProgram Nice! that's super cool, I'll check it out!

Profile icon
SanjayGorur

Ever tried using Python for the check and checkmate boolean functions?
Obviously, it is understandable that en passant and castling are difficult due to the many requirements.

Profile icon
SanjayGorur

My bad; I just looked at your JS file. :|

Profile icon
James_Sharrock

tHIS IS THE LINK GUYS: https://chess--masterg49.repl.co/

Profile icon
vedprad1

This is pretty good! The next would be to build an AI - like system so it can be human vs computer.

Profile icon
ddiioonn123

It's error but i will give u a vote :)

Profile icon
MasterG49

@ddiioonn123: Sorry I was working on it, it should be fine now! There's still no check checkmates or castling yet unfortunately

Profile icon
haya

so much fun!! you should allow online multiple players

Profile icon
MasterG49

@haya: That would be amazing, hopefully one day I can learn to do that!

Profile icon
Rapax_Brak

Horsy boys dont work properly

Profile icon
MasterG49

@rapaxbrak: Oh nooo :( how so? they move in an L shape correct, and they can skip over other pieces right?

Profile icon
MasterG49

@rapaxbrak: I'm almost certain they work correctly, maybe check some chess instructions!

Profile icon
sj42

The only problem is that getting a checkmate doesn't win you the game. Other than that it is great. Good job!

Profile icon
MasterG49

@sj42: Thank you so much! Yeah I'm working on it, it's more difficult than I thought!

Profile icon
amasad

@MasterG49 Any updates on the checkmate?