Battle Chess Plugin for RPG Maker MV/MZ

We're excited to share the Battle Chess RPG Maker Plugin, a new addition for RPG Maker MV and MZ that brings a fully functional chess mini-game into your projects. 

This is the first RPG Maker MV/MZ chess plugin (as far as we're aware) to feature a working AI.

This plugin was developed with the help of Psychronic-GPT (ChatGPT4o), as well as Claude 3.5 Sonnet over the course of 1 week. 

Key Features:

  • Customizable Chess Experience:
    • Set custom images for the board, pieces, and background through the plugin parameters.
    • Choose between Player vs. Player, Player vs. AI, or AI vs. AI game modes.
  • Easy to Start:
    • Use the StartChessGame plugin command to initiate the chess mini-game.
    • Select the game mode and player color directly from the plugin parameters.
  • Visual Customization:
    • Display custom sprites and portraits for each piece, with adjustable offsets.
    • Enjoy capture animations for each piece.
  • Sound Effects:
    • Configure sound effects for moves, cancellations, and cursor movements.
  • Victory Conditions:
    • Customize victory messages and images that appear when a game is won.
  • AI Opponent:
    • The AI evaluates moves based on piece values, safety, and potential captures, providing a challenging opponent.
  • Interactive Gameplay:
    • Supports both mouse and keyboard inputs for piece selection and movement.

This plugin adds a strategic and action packed chess battle to your game, offering depth and replayability. Give it a try and see how it enhances your projects.

Terms of Use:
Licensed under CC0 - Public Domain

Can be used for commercial and non-commercial purposes without having to give credit.  Although it is appreciated as well. 

Credits:
Nene - Boss Battle #2 - Symphonic Metal (cc0)
https://opengameart.org/content/boss-battle-2-symphonic-metal

AI Disclosure:
This plugin was developed with the assistance of Artificial Intelligence.

Updated 3 days ago
StatusReleased
PlatformsHTML5, Windows, macOS, Linux
Rating
Rated 4.7 out of 5 stars
(3 total ratings)
AuthorPsychronic
GenreStrategy
Made withPixiJS
Tagsai-generated, Chess, minigame, plugin, RPG Maker, RPG Maker MV, RPG Maker MZ, Tactical

Download

Download NowName your own price

Click download now to get access to the following files:

Battle Chess MV - Demo Project File.zip 122 MB
Battle Chess MZ - Demo Project File.zip 28 MB
PSYCHRONIC_BattleChessMZ.js 62 kB
PSYCHRONIC_BattleChessMV.js 63 kB

Comments

Log in with itch.io to leave a comment.

(1 edit)

This is a great and awesome plugin!

But..

I don't know about the MZ version, but the MV version seems to have some problems.

I'm using the MV version, and when I run the minigame once and then a second time, I get an error bug with the message 'TypeError: Cannot set property 'x' of undefined'.

This phenomenon also seems to occur when running downloaded demo games.

For example, if you start a mini-game with the plug-in command 'StartChessGame 2 white pvai' and type 'StartChessGame 2 white pvai' again, the game will fail and bounce.

That is, you can only run the minigame once, and it will not run later.

Thanks for letting us know, it's something we probably just didn't test for. We'll get back to it eventually and fix it. This project was a 1 week binge on using AI to see what it could do at the time that went beyond the normal scope of previous plugins. I'm not an AI bro by any means, but I'm specifically using the tool to create things that didn't exist in the specific context I used it. The Chess plugin was never meant to be a hardcore project or anything but I'm glad it's getting out there more. I will take this all into account and fix the issues with it when I can.

Thank you!

It is a very interesting Plugin, but I was wondering if it is possible to have permission to edit it a little, some AI movements are... Well, in simple words too daring. In the three games I have played, I have beaten it all three times, and not even because it is a low level of difficulty, simply sometimes the AI moves the King almost randomly, The result ends up being pieces practically given away to the player, "Suicide Kings", wasted plays, and if by chance you manage to take all the pieces except the king, an error occurs: '"Color" if undefined' or something similar. In addition, some movements of certain pieces such as "en passant" and "castling" are not included in the Plugin.

I'm not complaining, I'm really sure this will be an amazing plugin for my game, but I would like the "blessing" to tinker with the code a little to make it less erratic.

(+1)

This Plugin is free for you to use for whatever you want, and edit in any way you want, without giving us any credit at all. We developed this plugin within 1 week to test the abilities of generative AI code generation and we're proud of the results although it's not perfect.

We don't claim any ownership over this, if you want to edit it and use it for whatever you want, that's great. If you do happen to mention it came from this though in the evolution of what you do, that's welcome as well.

(2 edits)

I'm a lifelong chess player (rated around 2100 fwiw) and I'm really happy that this plugin exists. So epic! I do need to pass along some feedback though. The board is set up wrong. The rule is "light on right" meaning that h1 (white's king rook square) should be a light square rather than dark as this board currently has. It makes a difference as the game goes on. Fantastic work so far. Hope this helps.

Thank you for the feedback. We'll get it fixed. I know Chess but I'm not an expert on every aspect of the game so that's my bad. Also there's no castle and King isn't required to move when in check either, but I got it like 90% right, when I get back to it I'll fix these little things. Thanks again!

I figured it out but in the MV demo project the event uses the MZ plugin commands instead of the MV plugin commands to play the chess game

Oops. Thanks for catching that. Also the MV version was really quick at the end to convert it and there may still be some bugs but it seemed to work in my testing. I do use MZ as my editor though even for my MV projects. 

This is awesome.

Nice stuff!

Thanks!