Console Chess - The result of 3 months of hard work - ♟️
Chess
This is a console chess game written in java.
- Removing pieces
- Moving pieces
- Castling
- En passant
- Checkmate and Checks
- Draws*
* We are missing one type of draw and that is the insufficient mating material draw, but we have decided that implementing that would be too complex
To play the game, simply run the program and then choose what you want to do. configure the settings and then start playing!
To play the game, you need to input the location of the piece you are moving and the location you want to move to. For example, e2 e4
to move the piece at e2 to e4.
Credits
IMPORTANT
- We are working on implementing standard chess/algebraic notation so stay around so you can see that implemented too.
- This took around 3 months
We hope you enjoy :)
Edit: If we were not clear enough, this game is like complete chess with all the errors/edge cases handled, special moves, removing taking pieces, checks, checkmates, draws, etc. (Except of course, the insufficient mating material draw)
Edit 2: Bug where you could not castle on queenside has been fixed
EDIT 3: Please do not ask for edit access because I will not give it to you, if you have a good reason to want edit access, tell me and I will see. If you do not have a good reason, fork it. I have been getting spammed with notifications for edit access. I just wanted to let you all know, thank you!
Congrats on getting this to trending!
@JBYT27 thanks :)
Wow, not bad for java, @EpicGamer007, 3 months of hard work deserved! I upvoted.
@LingWu1 thanks! (what do you mean by "not bad for java")
np @EpicGamer007 When I say that I mean that u r good at java because I am horrible
@LingWu1 oh ok
:D my mums friend is giving me lessons @EpicGamer007
Teacher - What does class mean?
Me - I have simply no idea
Teacher - ok then, what does int mean?
Me - uhhhhhh(goes on for a longggg time) integer?
yea, @CoolGuy27
BTW it is en passant not en passent
The best! Love it!!! I also love chess! Not to mention, I'm pretty good at it too! :)
LOL, that's what happened to me;
EDIT 3: Please do not ask for edit access because I will not give it to you, if you have a good reason to want edit access, tell me and I will see. If you do not have a good reason, fork it. I have been getting spammed with notifications for edit access. I just wanted to let you all know, thank you!
@JBYT27 bruh like half of my notifs are request for edit access and it is really annoying me :(
ooof, i never even touched half of them, i feel you XD @EpicGamer007
nice
@gwynethwingell thanks
HOW YU DO TIS TIS BERY GOOOOODLY
@Whippingdot TANK(Thank) YOU!!
Welcome. You have to be very talented to do this, the game(even tho I didn't play it for more than 3 seconds) works very nicely. It knows when a piece is moved wrongly, and stuff like that. Very nice @EpicGamer007
Good job
@Slayerfindsnorm thanks
Nice Dude IS there a bot
@muffinman12345 we have not made a bot for this. it wud be much too complex for us
@EpicGamer007 Yes I agree. I cannot make a bot cuz im only 14 years old!
idk something smells fishy @muffinman12345 @EpicGamer007
Could you make the chessboard bigger? It would be easier to see.
@Jerryc07from i cant do it myself, but you can. press ctrl and + or zoom in
@EpicGamer007 oh thks
Can you make castling easier? CK as in castling kingside and CQ as in castling queenside?
@ReyesP ig i can add that.
@ReyesP the problem is i have to remake the jar and all that stuff so like, if i do it, i probably will go back to the old bash file (main.sh
) which means that it will take longer to load generally.
@EpicGamer007 Oh (by the way I have no knowledge of Java).
@ReyesP ok..
@ReyesP i added CK and CQ :)
@ReyesP Do I know you?
@SaraPatil1 I don't think so.
I can see that there was a lot of work put into this
@BobTheTomatoPie there really was.
wow this is cool,
but there is only one problem
I don't even know how to play chess
But dw, imma updoot, cuz this prolly took a lotta effort to make ig....
GREAT JOB @EpicGamer007
@OldWizard209 thanks :)
@OldWizard209 I defeated my dad in chess !
Woah that's cool man
Its a bit hard to move
@ShajeenthShan this is in the console, we cannot use the mouse to move in this
cool
I will recommend you make moving pieces slightly easier.... But other than that, great project! Gave u an upvote!
:(
There's so many good posts on Repl.it but I don't have time to see them all!
@DynamicSquid yea so tru
@EpicGamer007-Here is a error
@TheJamCoder that is supposed to happen, you entered a bad move so it says u entered an invalid move
@EpicGamer007-And if you don't want to it is ok
@EpicGamer007-It doesn't work for me. But add some more options and fix some errors and make a second nice game and please make the chess board bigger and make a random player computer to make it more challenging and put a easy hard and god mode and make it 3d it might even get 200 upvotes if you do this. And make other games like Ludo ext. If you want to do this it is fine :).
@TheJamCoder if u want to make the chess board bigger, press ctrl and +. i cannot make it bigger myself. IDK if I and @dakshg can create a chess bot though. that would be extremely difficult. sorry
lol how many times did you get the comment "Can you make the chessboard bigger?"
@CyberHacker101 i know right. liek bruh, at least read the comments, and at least try making it bigger yourself.
Nice Abhay, (Its the long name boi), I have absolutely no idea what this website is but signed up to say nice job.
@TcDouble ok... thx
noice
won with one input, ez. cool game tho
@iomarz how do u win in one move??
@EpicGamer007 resigning
@elizurfk how do u win then??
@EpicGamer007 dunno I am a chess player and the shortest mate is 2 moves...
1.g4 e5 2.f3 Qh5#
@EpicGamer007 but resigning means the other person wins though
Hey @EpicGamer007, I had a quick question!
How did you make the board checkered? I tried looking through the code... It's too confusing for me! XD
If you do reply, thanks!
I'm sry for the ping, you must be getting lots of notifications.
@JBYT27 its ok, so the checkered board uses escape characters(which are in Finals.java). We used unicode characters for the pieces. We have two methods where we print the board, here and here. They are the exact same thing but different with a different orientation.
oh, ok! Thanks so much! :D @EpicGamer007
I didn’t really mean to send the request my device got hanged and it pressed anything
@dakshg doesnt get enough credit. He did like 80% of the logic and he helped with a ton of other stuff
@EpicGamer007 I agree
YOU REACHED 1000 les gooooo. 15 upvotes for this comment and 100 smthing upvotes for this post. @EpicGamer007
@Whippingdot thanks lol