added RoomController.js memory game handling