refactor -> The algorithm was separated in game.rb and marker.rb