I don't know
I in fact don't entirely understand what you mean
A chess variant, go to the play tab and click variants, there you’ll see variants with different starting positions and different pieces (new ones as well)
This club isn't really about creating variants. It's about using the API to develop tools and questions about that.
Would it be Fun! The King & Queen were Cat And Dog?
The Nite a Parrot or Buggie
The Rook a Dog-house or Kitty-litterBox
The 'good&bad Bishop "Evil&Gay
The "pawn" A chop-shop 4:copps 4:robbers
Let the Queen have the "Roll/King! &seeIfShe/playBetter?
Good! Or Bad! AnotherWay Two: Look (in the book)
wdym? Do you want to create a chess960 match on this website?
Is this what you're looking for - https://www.chess.com/variants/chess960 ?
010DevX101 is clearly asking how to use the Chess.com SDK to develop an entirely new variant, with its own rules and logic similar to 960 or Crazyhouse, which would then be playable on the site.
The answer, 010DevX101, is simply that you can't. That's not what the Chess.com API is for; it's for interacting with the existing functionality and building things like integrations with Twitch and such. Not for extending the site itself with new games.
You might want to find some... other... open-source chess server if you want to develop entirely new variants.
@010DevX101 My advice is to think of the specific type of idea for the variant that you had in mind and go from there. It will likely require you to learn to use the programming that chess.com apps' are written in. (not always) Furthermore, you could also reach out to them and ask about using an IDE like Android Studio to reverse engine their app and see if you can use this information to build your own idea on top of the existing app. (not likely) Depending on what your actual idea is for this new variant it might just require some simple programming to add the option to the "custom" variants options when you create a custom variant. If you have any more questions feel free to DM me and I can likely help. Good Luck and keep hacking away!
... Oh and No they don't have a public SDK but the Android Studio IDE thing I mentioned would help solve that.
Ok, my idea is a bit complex.
I want to make it so when the game starts, players can write three command in a textbox that will appear, but after they make the first move, they can't write commands anymore, the commands may affect some parts of the game, such as the time the two players have, the colors of the pieces, etc.
But that's very complex.
Yea, you could definitely program a given set of commands such as a one-time time steal, freeze a players piece for a move, etc. but these specific and very dynamic commands would be very difficult to create into a variant. If you maybe thought of a few simple enough commands like the ones You or I mentioned and you could make a variant that would allow for it. But, I would suggest though to find an open source chess program and make a fork of it so you can design your version of the game of chess. You never know it might be the next big thing. Good Luck!
How can I make a Chess game mode like Chess960 or CrazyHouse? Please respond, thanks!