app/views/game_waiting_rooms/_starting.html.erb
<div>
<h1>We have <%= GAME_SIZE %> players. redirecting to game....</h1>
<script type="text/javascript">
$(document).ready(function () {
var spinner = new Spinner().spin();
$('.main-container').append(spinner.el);
setTimeout(function() {
window.location.replace("/games/<%= game_id %>");
}, 1000);
});
</script>
</div>