JohnDoeNews

AFK TTYL
Regular
Joined
Apr 25, 2017
Messages
2,096
Reaction score
1,564
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!
(Edit: Soon was not the right word... It might take a while. I just wish I had more time to do this. Why is there only 24 hours in a day?)

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: 288
Last edited:

Spaske

Regular
Regular
Joined
Nov 6, 2021
Messages
276
Reaction score
144
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

AFK TTYL
Regular
Joined
Apr 25, 2017
Messages
2,096
Reaction score
1,564
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
Regular
Joined
Apr 12, 2012
Messages
6,601
Reaction score
7,274
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

AFK TTYL
Regular
Joined
Apr 25, 2017
Messages
2,096
Reaction score
1,564
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
Regular
Joined
Apr 12, 2012
Messages
6,601
Reaction score
7,274
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

AFK TTYL
Regular
Joined
Apr 25, 2017
Messages
2,096
Reaction score
1,564
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
Regular
Joined
Apr 12, 2012
Messages
6,601
Reaction score
7,274
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

AFK TTYL
Regular
Joined
Apr 25, 2017
Messages
2,096
Reaction score
1,564
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
Regular
Joined
Apr 12, 2012
Messages
6,601
Reaction score
7,274
First Language
English
Primarily Uses
RMMZ
Happens to the best of us buddy. You'll get it!
 

JohnDoeNews

AFK TTYL
Regular
Joined
Apr 25, 2017
Messages
2,096
Reaction score
1,564
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
Regular
Joined
Feb 22, 2016
Messages
2,788
Reaction score
2,236
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

Regular
Regular
Joined
May 2, 2020
Messages
149
Reaction score
54
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

AFK TTYL
Regular
Joined
Apr 25, 2017
Messages
2,096
Reaction score
1,564
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

Regular
Regular
Joined
May 2, 2020
Messages
149
Reaction score
54
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

AFK TTYL
Regular
Joined
Apr 25, 2017
Messages
2,096
Reaction score
1,564
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
Regular
Joined
Feb 22, 2016
Messages
2,788
Reaction score
2,236
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

AFK TTYL
Regular
Joined
Apr 25, 2017
Messages
2,096
Reaction score
1,564
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

Regular
Regular
Joined
May 2, 2020
Messages
149
Reaction score
54
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 Posts

Latest Profile Posts

It's been long time since last I'm tinkering with RPG Maker ~
Turns out. I wasn't in my head accounting for when the Actor doesn't have a weapon equipped but DOES still have a Grimoire equipped... 40+ SV Spritesheets!!! D'x
Elemental chart based on taoism could be interesting.
Taotypes.png
Come and join me in 10 minutes for Trihan's Challenge Hour, where I'll be attempting a game of Cartographers where I can only position terrain in the orientation on the explore card! Following that will be the Wifestream, where Kytt will be trying out From Space for the first time! https://twitch.tv/trihanstreams
F***, I promised myself not to make overlong intros anymore, but the dialogues are again getting out of hand in a very visual novel kind of way, and there's only two fights against bats in between them...well, at least there's going to be a proper area with fights after this intro sequence. And the intro is a bit more lively with several locations and different scenes.

Forum statistics

Threads
135,043
Messages
1,253,261
Members
178,019
Latest member
comic10
Top