update game module

add module's variables
declare some module functions
finalising Piece class
update .gitignore to ignore *.pyc