Rewrote player game mechanics. Optimized&cleaned.