updated player1.py based on player.cpp