Table of Contents
Warning
Most of this no longer applies as of 4.0.0. An updated version of this wiki is in progress: https://hs.lunartides.dev/guides/game/start/ (#447)
Setup
Once Hearthstone.js is open, the game will ask you if you want to Play, Create a Deck, etc... Type "play" to proceed.
The game will then ask for a deckcode. Consult decks.json for a list of decks, or you can make your own in Making a Deck.
After this, you mulligan cards. You will see your hand and need to decide which cards to mulligan. The cards in your hand are given a number, top-to-bottom: "1, 2, 3, ...". So if you want to mulligan your top-most card you type 1. If you want to mulligan your two top-most cards you type 12. If you want to mulligan your top and third-from-the-top card you type 13.
Playing
Type
helpto see a list of commands if you're lost.
This is what the game looks like. Get used to this screen, you'll be seeing it for the entire game.
Sorry for the bad handwriting
- Marked in red Header: (Name) V(Version)-(branch) (hash)
- Marked in cyan Player Stats:
- Mana: Current / Max | Opponent's Mana: Current / Max
- Health: Current [Armor] / Max | ...
- Deck Size: Deck Size & Hand Size | ...
- Hero Power: {Cost} Name | ...
- Marked in lime green Board:
- You cards show up under
----- Board (You) ----- - Your opponent's cards show up under
----- Board (Opponent) -----
- You cards show up under
- Marked in orange Hand:
- --- (Name) (Class)'s Hand ---
- An example card to show how cards look and what the different numbers mean
Playing a card
After mulliganing, the game begins. You play a card by typing its index which is the left-most number of the card. So the first card in your hand looks something like this [1] {Cost} Name [Attack / Health] (Description) (Type). The 1 is the index which you type to play the card.
Attacking
Attack by typing
attack. You can typebackto cancel the attack, this works every time the game asks you to select a target.
When you attack, you need to select something to attack with. This will show up a lot throughout the game so you should get used to how it works.
When you attack you can either attack with a minion from your board by typing its index, or attack with your face by typing face. After that you need to select a target, which is selected the same way.
Hero Power
Use your hero power by typing
hero power.
When using your hero power, the game tells you what your hero power does, and asks for confirmation. If you confirm, you use your hero power.
History
Look at the history by typing
history.
The history tells you almost everything that has happened up this point. It might be a bit difficult to read, but it's a very useful tool.
Conceding
Concede by typing
concede.
If you give up and want to concede, run this command. The game will ask for confirmation, and then ends the game.
Use
Use a location card by typing
use, then selecting a location card.
Location cards are a certain type of minion. Location cards can't get selected at all. Location cards get get "used" in order to do something. Using a location card is like playing a minion with battlecry.
Details
See more details by typing
detail.
This will tell you more about the game like seeing how many cards are in your, and your opponents, hand.
Conclusion
With this, you can play Hearthstone.js. If you only plan to play, and not add anything to the game, like a card or a deck, you can stop here. Have fun!