#70 - duplicate whiteCards fix

made variable for TOTAL_TURNS, so it's easier to change value later. updated replacement card logic.
Changed it so we have global variables for player(), etc in variables.js. I
think eventually we should have a simple form that allows user to choose
NUM_TURNS.


On Thu, Aug 7, 2014 at 6:27 AM, Marshall Shen <notifications@github.com>
wrote:

> In server/game.js:
>
> > @@ -1,7 +1,9 @@
> > +var TOTAL_TURNS = 5;
>
> Can we make TOTAL_TURNS a global variable across app?
> Make we should have a file like "constants.js" and require the file when
> needed.
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/marshallshen/mangos-to-mangos/pull/74/files#r15934546>
> .
>