working game with ruby as back-end