Working Code

Sort:
Avatar of np_demon

@dale00007 is this good I have a good idea for a limited coach bot : from flask import Flask, request, jsonify import chess import chess.engine app = Flask(__name__) engine = chess.engine.SimpleEngine.popen_uci("/path/to/your/chess-engine") # Update to your engine's path @app.route('/start_game', methods=['POST']) def start_game(): board = chess.Board() return jsonify({'board': board.fen(), 'message': 'Game started!'}), 200 @app.route('/make_move', methods=['POST']) def make_move(): data = request.json move = data.get('move') board_fen = data.get('board') board = chess.Board(board_fen) # Player's move try: player_move = chess.Move.from_uci(move) if player_move not in board.legal_moves: return jsonify({'error': 'Invalid move'}), 400 board.push(player_move) # Bot's move (using a chess engine) bot_move = engine.play(board, chess.engine.Limit(time=1.0)) board.push(bot_move.move) except ValueError: return jsonify({'error': 'Invalid move format'}), 400 return jsonify({ 'board': board.fen(), 'bot_move': bot_move.move.uci(), 'message': 'Move accepted!' }), 200 @app.route('/analyze_game', methods=['POST']) def analyze_game(): data = request.json moves = data.get('moves') board = chess.Board() for move in moves: board.push(chess.Move.from_uci(move)) # Perform analysis using the engine analysis = engine.analyze(board, chess.engine.Limit(time=1.0)) return jsonify({ 'score': analysis['score'].relative.score(), 'message': 'Analysis complete!' }), 200 @app.route('/end_game', methods=['POST']) def end_game(): engine.quit() return jsonify({'message': 'Game ended.'}), 200 if __name__ == '__main__': app.run(port=5000)

Avatar of syednadeem6T

Chees game very difficult game few peoples on league this game.i am chees on benefit this game.time killing game. Last two years play this this game chees com. platform.many players play this chees. I understand few players is best players. otherwise this game loses the most important time.no earn players this game. All world players deferent games play an eran. Money. family's spot.tine money. I not play regularly play this game.

Avatar of GM-BrilliantEmote

https://www.chess.com/forum/view/general/free-game-review-kinda 
Check out the game review website I developed! Website link and additional info is linked in the forum above.

Avatar of Masei-Paints
IdioticMenace_001 wrote:

@dale00007 is this good I have a good idea for a limited coach bot : from flask import Flask, request, jsonify import chess import chess.engine app = Flask(__name__) engine = chess.engine.SimpleEngine.popen_uci("/path/to/your/chess-engine") # Update to your engine's path @app.route('/start_game', methods=['POST']) def start_game(): board = chess.Board() return jsonify({'board': board.fen(), 'message': 'Game started!'}), 200 @app.route('/make_move', methods=['POST']) def make_move(): data = request.json move = data.get('move') board_fen = data.get('board') board = chess.Board(board_fen) # Player's move try: player_move = chess.Move.from_uci(move) if player_move not in board.legal_moves: return jsonify({'error': 'Invalid move'}), 400 board.push(player_move) # Bot's move (using a chess engine) bot_move = engine.play(board, chess.engine.Limit(time=1.0)) board.push(bot_move.move) except ValueError: return jsonify({'error': 'Invalid move format'}), 400 return jsonify({ 'board': board.fen(), 'bot_move': bot_move.move.uci(), 'message': 'Move accepted!' }), 200 @app.route('/analyze_game', methods=['POST']) def analyze_game(): data = request.json moves = data.get('moves') board = chess.Board() for move in moves: board.push(chess.Move.from_uci(move)) # Perform analysis using the engine analysis = engine.analyze(board, chess.engine.Limit(time=1.0)) return jsonify({ 'score': analysis['score'].relative.score(), 'message': 'Analysis complete!' }), 200 @app.route('/end_game', methods=['POST']) def end_game(): engine.quit() return jsonify({'message': 'Game ended.'}), 200 if __name__ == '__main__': app.run(port=5000)

Hey, I sent a friend request! What’s your coding experience? I’m starting a project and need motivated individuals to make it great.

This is my first time putting the word out—I haven’t advertised yet. Looking for UI/UX Frontend (stack TBD) and possibly a backend dev. Compensation based on contribution. Let’s build something awesome!

Avatar of YankeeBastid

build something like this: www.4teamchess.com. It works using chess.com's API system. I use PHP8.x and mySQL.

Avatar of BaronVonChickenpants
Masei-Paints wrote:
Compensation based on contribution

Can you expand on this please? Are you looking for a paid developer or someone to volunteer?

Avatar of YankeeBastid

I am relying on support from philanthropic donations. I have done all the development by myself. I have built three tournament concepts that I am working on,. www.thebigblitz.com, www.4teamchess.com and www.sidekickbowl.com The fourth project is involved with the sport of Darts (which is a work in progress) All are focused on raising funds and awareness of the charities we support, i.e. Wounded Warriors, First Responders, Tunnels to Towers, Adaptive Golf, PGA HOPE and more. If you are willing to donate your time to these projects I could use some help so long as you are capable of handling the coding requirements or are capable of handling the project public relations.

Avatar of Masei-Paints
BaronVonChickenpants wrote:
Masei-Paints wrote:
Compensation based on contribution

Can you expand on this please? Are you looking for a paid developer or someone to volunteer?

I am willing to put in writing that a percentage of all ad revenue I generate in the future will go to those who support my journey. 

If we introduce a subscription plan, I will incorporate it into the proceeds as well, ensuring that supporters are recognized and rewarded for their journey also.
Thanks for the question, but a paycheck will only be available if we sell or enter into a partnership to allow such compensation. 

Avatar of YankeeBastid

then Thank you for your interest.

Avatar of Masei-Paints
wrote:

then Thank you for your interest.

You have some good stuff. Id love to get some more exp and help if you need it. you got a repo I can pull from to see ?

Avatar of BaronVonChickenpants
Masei-Paints wrote:
BaronVonChickenpants wrote:
Masei-Paints wrote:
Compensation based on contribution

Can you expand on this please? Are you looking for a paid developer or someone to volunteer?

I am willing to put in writing that a percentage of all ad revenue I generate in the future will go to those who support my journey. 

If we introduce a subscription plan, I will incorporate it into the proceeds as well, ensuring that supporters are recognized and rewarded for their journey also.
Thanks for the question, but a paycheck will only be available if we sell or enter into a partnership to allow such compensation. 

Do you have a portfolio of your previous projects available?

Avatar of Masei-Paints
wrote:
Masei-Paints wrote:
BaronVonChickenpants wrote:
Masei-Paints wrote:
Compensation based on contribution

Can you expand on this please? Are you looking for a paid developer or someone to volunteer?

I am willing to put in writing that a percentage of all ad revenue I generate in the future will go to those who support my journey. 

If we introduce a subscription plan, I will incorporate it into the proceeds as well, ensuring that supporters are recognized and rewarded for their journey also.
Thanks for the question, but a paycheck will only be available if we sell or enter into a partnership to allow such compensation. 

Do you have a portfolio of your previous projects available?

I sent chat request but my git is jmrlgg - Most of my EXP is Python, Been working on getting enough projects to showcase and possibly grab a job from. Its my journey after being disabled from manual labor.

Avatar of pab1it0

I wanted to share an amazing open-source project that I believe could be extremely valuable for anyone interested in chess programming or data analysis: https://github.com/pab1it0/chess-mcp.

It's a Model Context Protocol (MCP) server that provides standardized access to Chess.com's Published Data API. This tool gives you access to player profiles, stats, game records, online status, club info, and more - all with zero authentication required and Docker ready for easy deployment.

If you want to learn more about the Model Context Protocol, check out the official documentation: https://modelcontextprotocol.io

Use Cases:

  • Game analysis applications
  • Player statistics dashboards
  • Chess coaching tools
  • Tournament trackers
  • Club management systems

For those working on coaching tools (like @IdioticMenace_001's coach bot from earlier in this thread), this could be an excellent foundation to build upon rather than starting from scratch.

As I see some of you discussing your own chess projects (@YankeeBastid, @Masei-Paints), this could be a valuable addition to your toolbox.

Has anyone here already tried implementing this? I'd love to hear about your experience!

Avatar of notjoemartinez

Got some free time on my hands. Looking at adding some data persistence and interactivity features to https://chessinsights.xyz. Haven't touched it almost a year yet it is still trucking along in spite of my incompetence: https://github.com/NotJoeMartinez/chess-insights. Would also be interesting to see what can be done with client side move evaluations.

Avatar of YankeeBastid

I am sorry to report that lack of support meant closing my chess tournament 4teamchess.com for the time being. Thanks for the shoutout!

Avatar of ImperfectAge

https://www.chessleagues.org/ustcl

And

https://www.chessleagues.org/tcmac

Are tracking results for two leagues on chess.com I help with.

The first one is also used in my colleagues site www.ustcl.org

Avatar of xinchao1231

A

Avatar of mypawnisapassedpawn

Hi! I don’t really know what to do here but i’m glad to be here!

Avatar of mypawnisapassedpawn

Avatar of mypawnisapassedpawn

Anyway, i would really love if you could really ban cheaters and pay more attention to reports and all. That’s all for now, bye!