Update boardgame.py

major update allowing to read and write files in given format (typical and personal formats).