p1 -> player1,p2 -> player2, camelcase in main.cpp