JohnDoeNews

Mod on Steam (MV/MZ)
Veteran
Joined
Apr 25, 2017
Messages
1,539
Reaction score
1,136
First Language
Dutch
Primarily Uses
RMMV
What is chess?
Chess is an ancient board game, which is older than the art of printed books, and still very popular today. The game is played on a bord with 8×8=64 tiles and only 1 piece and be on 1 tile at the same time.

1662751870373.png

Each of the 2 players get 16 pieces:
  • 8 pawns
  • 2 rooks
  • 2 knights
  • 2 bishops
  • 1 queen
  • 1 king
Each piece has their own way of moving around the board. Example: Rooks can only move straight (either vertical or horizontal) and bishops can only move diagonal.

1644187689106.png1644187771771.png1644187891379.png

The goal of the game is to capture the opponents king. No matter which other pieces are on the board, when your king is trapped, you lose. We call this Check Mate.

How do I play Chess MV?
The rules of my game are actually the default rules of chess how it is played all over the world. If you want to learn how to play chess, you might want to look up tutorials online or even better: Ask a friend who knows how to play.

To play Chess MV, as I called my engine, click the link at the bottom of this article and start playing the game. However... The game is for 2 players. So put an extra chair behind your desk and ask your roommate, your mom, your friend or your neighbor to join you.

Simply use your mouse to move the pieces around the board.



I want to make a chess game too!!
Good for you! Go for it! Oh... You want to know how I did it? I will teach you! Tutorials are coming soon!

Where can we play the game?
For now, the game is available as HTML5 game on itch. No need for downloads or installs. Just go to the website and start playing right away.

https://johndoenews.itch.io/chess
- Can't move en passant

Bugs will most likely be fixed in order as displayed.
Expectation for all fixed: Soon
 

Attachments

  • 1644187620822.png
    1644187620822.png
    87.3 KB · Views: 284
Last edited:

Spaske

Veteran
Veteran
Joined
Nov 6, 2021
Messages
276
Reaction score
142
First Language
German
Primarily Uses
RMMZ
Truly amazing, well done man!!! :D
But you forgot to add the option to exchange a pawn for a better figure when he reaches the other side. ^^
 

JohnDoeNews

Mod on Steam (MV/MZ)
Veteran
Joined
Apr 25, 2017
Messages
1,539
Reaction score
1,136
First Language
Dutch
Primarily Uses
RMMV
Truly amazing, well done man!!! :D
But you forgot to add the option to exchange a pawn for a better figure when he reaches the other side. ^^
You are completely right!!! :D Thanks for letting me know!

Have you implemented castling?
Nope. Castling and En Passant are 2 moves I actually figured out I forgot about, while making the video. :p I will put those in as soon as possible. (Castling is the one I mentioned in the video, but didn't know the English term for. :p )

Thanks for suggesting those, guys.
 

Trihan

Speedy Scripter
Veteran
Joined
Apr 12, 2012
Messages
5,771
Reaction score
5,573
First Language
English
Primarily Uses
RMMZ
I imagine En Passant will be a challenge since it involves looking for a capturable piece that's on a tile other than the one you moved to.
 

JohnDoeNews

Mod on Steam (MV/MZ)
Veteran
Joined
Apr 25, 2017
Messages
1,539
Reaction score
1,136
First Language
Dutch
Primarily Uses
RMMV
I imagine En Passant will be a challenge since it involves looking for a capturable piece that's on a tile other than the one you moved to.
That is indeed an obstacle, but I think I know how to solve that. I actually think castling is harder, since this requires even more info:
- Can be in check
- King may not have moved yet
- Rook may not have moved yet
- Nothing can be in between king and rook

I think they will both be challenging, but then again, the challenge is what makes it interesting! :D

have you guys tried the app yet?
 

Trihan

Speedy Scripter
Veteran
Joined
Apr 12, 2012
Messages
5,771
Reaction score
5,573
First Language
English
Primarily Uses
RMMZ
That is indeed an obstacle, but I think I know how to solve that. I actually think castling is harder, since this requires even more info:
- Can be in check
- King may not have moved yet
- Rook may not have moved yet
- Nothing can be in between king and rook

I think they will both be challenging, but then again, the challenge is what makes it interesting! :D

have you guys tried the app yet?
I have! Just about finished a game. I think there's a bug with your check logic; if I put one king in check, the other player can't move anything but their king the turn after.
 

JohnDoeNews

Mod on Steam (MV/MZ)
Veteran
Joined
Apr 25, 2017
Messages
1,539
Reaction score
1,136
First Language
Dutch
Primarily Uses
RMMV
I have! Just about finished a game. I think there's a bug with your check logic; if I put one king in check, the other player can't move anything but their king the turn after.
The king that is in check, is the only piece that can move?

When your king is in check, the options should be:
  1. - Move your king out of the danger zone
  2. - Put another piece between the king and the attacker (won't work if attacker is a knight)
  3. - Capture the attacking piece

Everything else should be blocked.

Is that what happened, or is a legal move blocked still?

Could you show me a screenshot?
 

Trihan

Speedy Scripter
Veteran
Joined
Apr 12, 2012
Messages
5,771
Reaction score
5,573
First Language
English
Primarily Uses
RMMZ
1644198138774.png
Here white's king isn't in check, but I'm not able to move any piece except the king.
 

JohnDoeNews

Mod on Steam (MV/MZ)
Veteran
Joined
Apr 25, 2017
Messages
1,539
Reaction score
1,136
First Language
Dutch
Primarily Uses
RMMV
Here white's king isn't in check, but I'm not able to move any piece except the king.
You are right... I am encountering false checks myself... Back to the drawing table! :p Poop! Haha.
 

Trihan

Speedy Scripter
Veteran
Joined
Apr 12, 2012
Messages
5,771
Reaction score
5,573
First Language
English
Primarily Uses
RMMZ
Happens to the best of us buddy. You'll get it!
 

JohnDoeNews

Mod on Steam (MV/MZ)
Veteran
Joined
Apr 25, 2017
Messages
1,539
Reaction score
1,136
First Language
Dutch
Primarily Uses
RMMV
Oh... My... Evolution!!!
I forgot to flip a switch off. Actually 2, one for blue and one for red. This resulted in, once you walked with the king, the engine would see all future steps you take as the new location of the king.

This location will only be tracked when checking for check, so you won't notice it on the board. :p

The problem should be solved now! :D Thanks for letting me know!
1644200290573.png
 

Frostorm

[]D[][]V[][]D
Veteran
Joined
Feb 22, 2016
Messages
2,788
Reaction score
2,231
First Language
English
Primarily Uses
RMMV
I love it! Excellent job :rock-left::troll::rock-right:

I noticed it was updated an hour ago, fixes I assume?

Edit: I found a bug. My Queen isn't being allowed to move as far as she should be. As in, she's prevented from moving forward to the farthest row. Is this working as intended?
1644280214083.png
 
Last edited:

Sirius270

Veteran
Veteran
Joined
May 2, 2020
Messages
136
Reaction score
51
First Language
English
Primarily Uses
RMMV
Hello! I really love that you went in and tackled this (WOW!)! Do you intend to add AI to this? Will there be any way where we could use this as a plug-in (now, or in the future)? Thank you so much for this!
 

JohnDoeNews

Mod on Steam (MV/MZ)
Veteran
Joined
Apr 25, 2017
Messages
1,539
Reaction score
1,136
First Language
Dutch
Primarily Uses
RMMV
I love it! Excellent job :rock-left::troll::rock-right:

I noticed it was updated an hour ago, fixes I assume?

Edit: I found a bug. My Queen isn't being allowed to move as far as she should be. As in, she's prevented from moving to the farthest row. Is this working as intended?
View attachment 215605
The queen can't go all the way to the upper row? Hmmm... That is weird. I'll look into it. Thanks for letting me know.

Yes, I did update a few hours back. I forgot to add that pawns can be swapped for better pieces when reaching the other end.

Hello! I really love that you went in and tackled this (WOW!)! Do you intend to add AI to this? Will there be any way where we could use this as a plug-in (now, or in the future)? Thank you so much for this!
I would love to put in AI. I'll try that as soon as all other bugs are out.

This is not a plugin, and I wouldn't know how to make a plugin out of it... But I plan on doing youtube tutorials on the matter so all of you can make their own chess game, like I did. Again, once all the bugs are out. (I don't want to teach you guys how to make a bugged game... Hahaha.)




By the way... I improved the graphics for the pieces: (pawn, rook, and bishop)
Hope you guys like it!
1644281195125.png
 

Sirius270

Veteran
Veteran
Joined
May 2, 2020
Messages
136
Reaction score
51
First Language
English
Primarily Uses
RMMV
So, I used to be a master-ranked chess player. If you need help, feel free to message/ask me. I don't have a lot of free time, but I'm definitely willing to put some time and effort into something like this. Thank you!
 

JohnDoeNews

Mod on Steam (MV/MZ)
Veteran
Joined
Apr 25, 2017
Messages
1,539
Reaction score
1,136
First Language
Dutch
Primarily Uses
RMMV
So, I used to be a master-ranked chess player. If you need help, feel free to message/ask me. I don't have a lot of free time, but I'm definitely willing to put some time and effort into something like this. Thank you!
You're a master? Wow! That is amazing! :)

Well, I don't think I have any questions about making the engine... At least not chess related. But if I think of anything, I'll sure let you know!

When all is fully debugged, I plan on playing someone trough discord and record it for youtube. (both on our own system while commenting trough voip and telling each other the moves) Kind of to celebrate my accomplishment. Since you are a master, I would love it if you would be the one I play against in the release video. (Even though I am not anywhere near your level. I am leveled around rank 1400, according to the chess.com app, but I don't even have an official ranking.)

I know you said you are a busy person, so I would understand if that is not fitting your agenda. You're the first person I ask, though.
 

Frostorm

[]D[][]V[][]D
Veteran
Joined
Feb 22, 2016
Messages
2,788
Reaction score
2,231
First Language
English
Primarily Uses
RMMV
Ok, so here...shouldn't it be checkmate? Right now it's Red's turn and there's no moves that can be made.
1644332101751.png
 
Last edited:

JohnDoeNews

Mod on Steam (MV/MZ)
Veteran
Joined
Apr 25, 2017
Messages
1,539
Reaction score
1,136
First Language
Dutch
Primarily Uses
RMMV
Ok, so here...shouldn't it be checkmate? Right now it's Red's turn and there's no moves that can be made.
View attachment 215672
Oh, nice one! :) Check mate!

A little flag should pop up which can be clicked to admit defeat... I'll check why that doesn't happen. in this case.

Everything else works fine now? I've been searching for hours why you couldn't reach the other side of the board before. I still have no idea why that was... I secretly hope the problem got solved by itself, but I know that is actually impossible. :p Haha.

I test soooooooooo much and yet one bug after the other seems to pop up. :p Seems like debugging is more work than making the game itself. :p
 

Sirius270

Veteran
Veteran
Joined
May 2, 2020
Messages
136
Reaction score
51
First Language
English
Primarily Uses
RMMV
After some testing:
False check:
1644618878967.png
And no checkmate: (I was actually trying to test stalemate, but goofed -.-)
1644618915295.png
 

Latest Threads

Latest Profile Posts

I guess I should post something on my game advancements.
Hmm, tough crowd...I wish I had screenshots for my prototype idea...but alas, I do not.
How many tentacles does an octopus have?
*
*
*
*
*
*
TEN-tacles.

XD I just heard this joke the other day and love it.
Future Mike.png
was fun to draw my characters for something other than my game for once. made some new designs for them, one being based on a friend's version of my character for his comic. I'll fix this up at some point tho as I feel I wanna use it.

Forum statistics

Threads
128,296
Messages
1,193,452
Members
168,758
Latest member
HDNua
Top