Board Thread:General Discussion/@comment-25114063-20161023151859/@comment-26871761-20161023163407

WOW!

Thank you guys soooo much!

I am still working on double sided Resonas... And haven't checked any code yet... It will be really buggy.

Maybe you can wait until I do some simple check...

Here are some tricks for testing:

In the "Server" tab, press F12 to open console.

After a game is open, in the console, you can get the game object by typing:

game = roomManager.rooms[0].game;

Then, you can do something like this:

game.turnPlayer.draw(5); // Draw 5 cards

game.turnPlayer.enerCharge(5);

game.turnPlayer.lrig.level = 4; // Set the lrig level so that you can grow into any lrig in the first turn.

'''game.turnPlayer.getCard('CARD_ID'); // Move the card to hand. Card id can be found in CardInfo.js.'''

game.turnPlayer.putCardToLifeClothZone('CARD_ID'); // Useful when testing life burst.

game.turnPlayer.opponent.draw(5); // Opponent

Note: when you run codes in console, it won't send message to the clients immediately. Instead, you should do something in client (eg, click 'summon') to get the message.