finished farkle game logic