Chess Plugin

0 views
Skip to first unread message

Agenor Ramadan

unread,
Aug 5, 2024, 12:34:40 AM8/5/24
to miczbatickret
Idon't collect any personal data. Also, it has sandbox permission only to *://chess.com/*. I made it as secure as it can be, even Google fonts are saved locally in .woff2 so it does not make any external requests.

The features seem very helpful! Are there any plans to make it possible for us to upload our own custom boards and pieces locally? I would love to be able to choose from a greater variety of themes over time.


Thanks! Yes, I'm currently working on it. Also, if you have pieces or boards you'd like to see in this extension, you can propose them here: LINK. Just add a link to Dropbox or Google Drive in your response!


Parses a FEN* string & draws the resultant chess position using the Chess Merida font. It is therefore ESSENTIAL to have Chess Merida font installed before running the plugin! You can get the Chess Merida Font here:


*Forsyth-Edwards Notation (FEN) is a notation for describing chess board positions. The purpose of FEN notation is to provide all the necessary information to restart a game from the given position. Wiki FEN for more information:


Previous incarnation of ChessFEN would break if you tried to build a FEN string by typing it directly into the textbox. This is no longer the case!. I have rebuilt the plugin as per the suggestions from Rick and Simon below. So now you can build a FEN string from scratch by typing directly into the textbox. Thanks guys for your suggestions.


I'd suggest putting your parsing of the string around a try/catch block, and if an exception is raised just default to string.Empty. You can actually use the static Do.TryCatch() method to simplify this.


Chessbase Lite: [with your selected position showing in the game window] Game menu>Setup position>Copy FEN string (This is now held in an internal format, so you need to paste into a move comment. Now you can select the text and copy/paste it into any text editor)


I'm using this technique to perform some error checking, but its a bit flaky. E.G. if you paste in a FEN string and remove a random character from the middle, the parsing routine will give you an error (in RED text no less :shock: ).


It would be nice, if the black fields of the board would have a different color from the black pieces and be solid. So everyone could more easily do individually styled images. The colors of the pieces are also not so easy editable if you would for example want a texture to fill them, you would want to select all white pieces at once and do a photo flood fill. But I don't know a good solution for that atm... white pieces just should be white maybe white rgb(254,254,254) in contrast to the white of the board rgb(255,255,255)


We're working with the Chess Merida font here, so all we can choose is the colour of the font. The pieces and squares are not individual images which are able to be edited. Change the color of the diagram by selecting a different primary color before running the plug-in.


Titanium Chess Assistant is an Opera extension that helps users improve their chess skills while playing on the popular website chess.com. It offers a variety of features to assist users in making the best move in a given situation, including:


Suggesting the best move

Rating possible moves

Warning against potential blunders

Visualizing the evolution of the game on chess.com

Bond visualizer(soon)

Customizing the chess.com website's color scheme


To use the extension, users must enable 'show legal moves' in their chess.com settings. Additionally, the extension uses computational resources on an external server to evaluate chess moves, so a paid subscription is required after the initial free trial period.


It's important to note that the extension is independent from chess.com and is not affiliated with them in any way. Additionally, the assistance should not be used in rated games or against a human opponent without the opponent's knowledge.


ChessCraft is a Paper plugin that adds in-world chess matches against other players and chess engines.With ChessCraft, players can challenge each other to intense chess battles in a Minecraft environment.


By default, ChessCraft will be configured for use with a resource pack containing custom models for chess pieces.It can be downloaded here. You can either have your players manually install it, or set it as your server resource pack/merge its contents into your existing server resource pack.


Chess boards will not automatically place or remove blocks from the world (besides the pieces if configured to use block pieces), they will only manage pieces. This is to allowbuilding your chess board in any way you like. However, the /chess set_checkerboard command can be used to automatically place blocks for a standard board.


PGN means Portable Game Notation. Generally a all the moves of a Chess Game can be exported in to text format and can be read using a PGN reader and replay the chess game.

It generally looks like this:


Are you looking for an easy way to add chess content to your website, blog, or social media account? Chess.com has a variety of tools you can use to easily embed chess games, puzzles, streams, diagrams, and more! In this short guide, we show you how...


We ran a very technical forum for 15 years until now (unix, linux) and had a lot chess players as members (including me) and no one was interested in chess in the forums (we installed a number of chess related plugins over the years).


You host a technical forum and hence you audience might not be interested in chess.

I can host a Sports and Gaming Forum where there are lot of chess players and enthusiasts who spend a lot of time discussing and debating about chess moves. It depends on who are your target audience. It is so myopic of to verify and confirm about my requirement since you have never hosted a Sports forum, and your verification is not valid with respect to my request.


There are already a lot Java Script based Embeds to host a PGN. But, Discourse will not support Java Script Embeds on their Posts currently, only iFrame Embeds are allowed. Hence If discourse is interested in have a Plugin available for PGNs, I am pretty sure that will attract a lot of Sports based forums.

I do not think Chess related plugins are a niche feature if Discourse has lot of Sports related and Gaming related forums in their customer list.


The Solution that you have provided will only enable us use what ever chess.com streams. But, that will not help us do differentiate, since there are many players who will simply host Chess.com Daily puzzles. Hence you suggestion is not actually a solution for my problem.


Apologies for being a noob in this matter - a senior citizen friend of mine is looking for desktop publishing-like software to record chess games (diagrams along with personal reflection). The goal is personal publishing of chess games from their history. He is familiar with MS Word, but not much with other software.


Is there some software for recording chess games that's closer to MS Word? I'd imagine it basically like a text editor, with a chess board on the side that can be configured with a certain position, then an image of it would be inserted in the text editor. No playback capabilities are required.


The closest thing I can think of to what you want, though it is still PGN file based, is ChessPad. It's a very basic pgn file editor/viewer which maybe your friend could use standalone, or he could use it to create diagrams which he then pastes into MS Word.


Telegraf is a powerful tool that enables you to gather metrics and information from stacks, sensors or systems. Telegraf handles the heavy lifting and computation allowing you to spend more time focusing on what you want to do with your newly collected data. For this reason, our team decided to build a simple plugin for Telegraf that collects information and user metrics from Chess.com. We use the official Chess.com published data API to gather information from. In this blog post, we will go over how we built this plugin in an attempt to guide the reader through the process so they can build their own plugins.


To begin our plugin, we forked and downloaded the Telegraf project from its official GitHub repository. All Telegraf plugins are located within the plugins directory, and since we are gathering information from an external source for the system, we placed our source code within the plugins/inputs directory. There, we create a directory called chess to hold all of our code. The working path to our source directory appears as follows: telegraf/plugins/inputs/chess.


The documentation provides a sample Telegraf configuration to build our plugin off of. The following is the sample configuration given that we can place within our chess.go file within our plugin directory:


After placing the sample code within our Go file, we can start to alter the code to fit our plugin. First, we need to update our package name to the name of our plugin by writing package chess. Next, we need to change the data structure below the imports statement to represent our plugin configuration and match the README. Finally, we can update any other names or data types that we have altered in our code. With that, we end up with the following:


We can now start working on gathering data from the Chess.com API. Within the code above, we have a method called Gather(). This method will contain all of the logic for gathering and passing information from the API to the accumulator of Telegraf. To showcase how to do this, the following will explain our method of gathering leaderboard information from the API, unmarshalling the json response into intermediate structures, and passing that data to the accumulator.

3a8082e126
Reply all
Reply to author
Forward
0 new messages