Update boardgame.py

corrected version with self references added.