Added 'smart' following into game.js