Moving to office

repaired the random card functions
Now will always draw a random card (unless it iterates 10 times to
prevent bogging the server)