HTML5 remake of an old border game