Update game_manager.js

First try at implementing new min-value based algorithm