Openings epub creation with Python

Sort:
macspacs

Hello guys,

I woild like to share an idea I'm trying to work on, about the "almost automatic" creation of simple ebooks (let's call them cheat sheets) for the most common opening.

I am writing it in Python and, based on a structured file, the program create an epub files, with either board images, text, etc..

It is in a very early stage, but it would be nice to hear your comment!

This is an example of the parsed file:

Title - Caro Kann
Orientation_white - False
Move - e4
Move - c6
Render
Text - The opening starts with white e4 and black respond with c6 to prepare the next move d5
Move - d4
Render
Text - White replies with d4
Move - d5
Render
Text - Black responds with d5 to attack white pawn on e4. White has two options, capture black pawn on d5 or push pawn to e5
Move - e5
Render
Text - Pushed pawn to e5
BackMove
Render
Text - Back to previous position
Move - exd5
Render
Text - White capture on d5

The commands structure is easy, and self explanatory.

And here the result

https://www.mediafire.com/file/r0q16dpzep1q1lg/test.epub/file

On my iPad it appears nice and perfectly readable.

Reporter_Tintin

Nice thinking bro… work on it Good luck!! I’m interested in it

TheDudeRobert

Sounds like an awesome project. Good luck!