Moved player's party variable to global scope for future game expansion.
Updated selectBestTarget() function description.
Optimized selectBestTarget() function by removing unnecessary intermediate arrays.
Optimized selectBestTarget() function by removing unnecessary min/max variables and improved popping targets from array.
Merge pull request #26 from DrkSephy/master

Adding method for setting up all stats
Merge branch 'master' of https://github.com/chessmasterhong/WaterEmblem
Updated index.html with more control descriptions.
Added hit, evade, and critical rate computations to battle animations. Modified screen shaking effect to intensify on critical hit.
Added placeholder comments for locations to add conditional battle animations.
Moved experience and level gain from base_player (collision-based) to main (detection-based) after combat animation sequence completes.
Fixed bugs with stats not computing and updating properly as discussed in pull request #26.
Fixed bug with null equipments using new empty equipment slot system. Added recomputeStats() to all existing units. Reorganized units' code order for consistency.
Added minimum clamp values to recomputeStats().