Published on

GPTChessMentor- A Birthday Challenge to create Grandmaster mentoring under 0x35 hours!

Authors

GPTChessMentor: A Birthday Challenge

On my birthday, I decided to push myself out of my comfort zone and take up a unique challenge - to create a tool that deciphers chess positions and moves in order to improve the user's strategy and tactics.

(As I'm not MJ, but rather not Magnus carlsen or Kasparov either ;-))

To make things interesting, I set an unusual constraint - I only had 0x35 hours (5:30 in decimal) to accomplish this task. As someone who doesn't identify as a developer, this was quite the undertaking.

I was armed with a robust set of AI leverage techniques and an unyielding desire to create something impactful within the specified time limit.

The Premise

The tool needed to meet the following requirements:

  • Functionally operational
  • Deployable to my server after 0x35 hours (5:30)
  • No restrictions on the tools or boilerplates to be used

Armed with this brief, I embarked on this journey!

The Journey

The primary prompts I used to streamline the process were:

  • Naming the project
  • Adding hashtags
  • Writing the Readme file in Repo
  • Creating the boilerplate of the project with chess
  • Choosing the right images for the coaches
  • Coding with Assitance of GPT-4

The Tech Stack

My tech stack was fairly simple and effective:

  • NextJs/Typescript for the base (though essentially using React)
  • Langchain to control the Language Model
  • Chess.js and React-chess for chess components

The Result

It took me 8 hours in total (with a fair bit of intervention) to accomplish this task. The process was largely straightforward, but the most time-consuming part was finding the perfect chess library and debugging some issues. (If I reduce the on and off time, I totally beleive that it took 3:50 )

The project turned out to be a perfect blend of functionality and strategy, just like a game of chess! I was able to deploy the tool on my server within the given time frame and it was a satisfying moment to see my birthday challenge come to fruition.

Here's wishing myself a very Happy Birthday and hoping that everyone enjoys using the tool!

Illustration of the service
Illustration of example

Here is a link to the tool

Future Improvements

There is always room for improvement and I am excited to see how this tool evolves with time. I invite all users and developers to offer their insights and suggestions to enhance the user experience. Along with:

  • Visualization of the moves
  • Save last moves, and suggest overall insights of patterns in strategic/tactics.

Final Thoughts

This project is a testament to what one can achieve with a strong will, the right tools, and a bit of creativity. As I blow out the candles on my birthday cake, I am filled with gratitude for the journey and excitement for the road ahead.

Moreover, I believe this genre holds immense market potential. Therefore, if someone is interested in taking this project further and commercializing it, please feel free to contact me without any hesitation!

Here is the code for this project

You can play it in gptchessmentor.com

Happy Coding and Chess Playing!

Birthday Image