So you had a couple bugs and i have fixed a few (i will soon fix the multiplayer) but the basic thing was that the CPU's goal gives a point to the CPU when you hit a goal but the ball gives you a point when you hit the goal, as I said earlier i have fixed it.