Getting Started - Cockatrice/Cockatrice GitHub Wiki

NOTICE

This is not useful at the moment. Many parts are broken. Work in progress... check back later!
(mostly just a simple copy&paste from old and outdated manual.pdf file!)

Good write-up of similar content: https://www.reddit.com/r/Cockatrice/comments/8rke0a/etiquette_and_cockatrice_mechanics/

Preface

Getting Started

Downloading and Installing the Cockatrice Program

The latest client releases can be found here.

Cockatrice releases come in two flavors, the official, stable release (i.e. those with a proper name) and the development beta pre-releases (marked with '-beta'). Official releases are stable in the sense that they do not change; whereas beta releases are incrementally improved until enough changes accumulate to be released as a new stable. Beta releases are useful for gaining access to fixes and new features earlier and are more likely to have pre-compiled install files for more recent operating systems, but may have less testing or polish than the latest stable release. See a fuller discussion of the different kinds of releases here.

Determine which version you would like to use and download the install file for your operating system. Follow standard install instructions for your operating system.

If you can't find an install file for your system in the stable release, check the most recent beta release or compile it manually (see below).

Client compilation

See Compiling Cockatrice

Updating Cockatrice

See Updating Cockatrice.

Note that if you have compiled Cockatrice manually, you will not be able to update this way and must recompile each new version.

Downloading Card Database Using Oracle

Within Cockatrice, navigate to Help → Check for card updates... to open the Oracle Importer.

Select your language and click Next.

Screenshot from 2022-11-30 12-23-03

Leave the Download URL as is and click Next to download the most current card list.

Screenshot from 2022-11-30 12-23-13

Click Save to save a local copy of the card list.

Screenshot from 2022-11-30 12-18-10

Leave the Download URL as is and click Next to download and save the most current token list.

Screenshot from 2022-11-30 12-18-43

Click Finish to exit the importer.

Editing Set Order and Preference of Card Art

You can manage which sets have priority under Card Database > Manage Sets.... This will change which card art is shown to you during games.

Screenshot from 2023-09-21 12-24-33

Screenshot from 2023-09-21 12-26-52

To change the priority of sets, simply highlight the set you want and use the single-headed arrows to move it up or down. Use the double-headed arrows to bring it to the very top or the very bottom. You can also highlight multiple sets at a time and rearrange them as a group. Hold Shift to highlight continuous blocks or hold Ctrl (Windows/Linux) or Cmd (macOS) to highlight multiple individual entries.

To disable a set entirely, uncheck the checkbox to the right of the name. This will prevent the art from that set from displaying; be careful not to disable all the sets that a card is in or you will have no art for it.

You can use the search bar at the top to search for sets use the full set name, the three-letter set code, or by type of set (expansion, promo, commander, etc).

If you want to reset the order to the order that Cockatrice was using when first installed, use the Default Order button on the top right.

The Deck Editor / Making a Deck

The Cockatrice Deck Editor is a tool you can use to make decks to play online. The cards shown in the Deck Editor are from a database that you downloaded with the Oracle Tool. If you are missing cards or a new set has come out, you must manually re-run Oracle (as explained above) and download the new set information.

Screenshot from 2022-12-10 17-42-10

  1. Search Bar : The search bar lets you type in the name of a card and the editor will only show cards that start with whatever you typed in. Example: Typing in ‘B’ will show all cards that contain the letter ‘B’ and typing in ‘Dark’ will show you all cards that contain ‘Dark’ and so on. Clicking the grey 'i' button will bring up a list of commands useful for narrowing down a search.

  2. Card Search/Filter : The Card search button will bring up a new window that helps you filter out cards more specifically. A variety of check boxes will help find what you need. Card name lets you filter out only cards that have a cretin word in them. Card text can help you find key words like “Haste” or “Infect”. If you were to uncheck all boxes except for “Instant” along with “Artifact” and “U”, the Deck editor will only show you all Blue Instant and Artifact cards.

    Letter Card Type
    U Blue
    W White
    X Colorless
    G Green
    R Red
    B Black
  3. Card Data : This section shows the Oracle text for the card that you currently have selected. It will show you up-to-date information on the card such as the Name, Mana cost, Card type, Power/Toughness, and any abilities the card has. It will not show you flavor text.

  4. Adding/Removing Card Buttons : The buttons in the bottom middle will add or remove cards from your Deck List, as well as ad a card specifically to your Sideboard. Having a card selected on the left column and hitting the Enter key will also add it to your deck list.

  5. Deck Name/Comments : The area in the top right lets you name your deck as well as give any comments or descriptions such as how to play the deck, where the deck came from, or explain a theme. Putting something in the “Deck Name” space will NOT be what the file name of the file for your deck. That is spate in the “save” selection under the “Deck” menu found at the top left of the Deck Editor window.

  6. Main Deck List : This area will show you what cards you currently have added to your deck list. It is sorted by card type and also shows you how many of each card and card type you have added, as well as keeps track of how many total cards you have added to your main deck list. This will not add any number of cards you have added to your Sideboard.

  7. Sideboard List : The bottom section of the deck list shows any cards you have added to your sideboard. Again these are split into card types and it will keep track of how many of each card you have as well as how many of each card type and total cards in sideboard. This section will not add any cards from the main deck. Once you have all of your cards added to your deck, you must save it as a file Cockatrice can read. Select “Deck” from the top left corner of the Deck Editor screen, and select “Save Deck” or “Save Deck As…” and it will bring up a new window where you can select where you would like to save your deck, as well as assign it a file name. Cockatrice decks are saved as .cod files.

Loading a deck list from your clipboard

If you find a deck online, or you have a deck list saved in a word document, it is easy to transfer it over into a Cockatrice deck file as long as it is in a simple deck list format. The simple deck list format is a list where each line begins with a number, followed by a whitespace, followed by the cardname, e.g.

2 Card A
13 Card B
10 Card C
4 Card D
...

Simply find the word document or deck list online that you wish to save as a deck, and select the text and copy it to your clipboard. Next, open the Deck Editor screen, and click on the Deck menu from the top left corner. Select “Load deck from clipboard…” and the deck editor will bring up a new window that has the deck list you had copied to your clipboard. Make sure the Deck list looks correct and hit “OK” in the bottom right corner of the window. The Deck editor will now add all the cards in the list to your main deck list.

image

image

NOTE: If you add a card to a deck list with this function that you do not have downloaded to your personal cockatrice database though the Oracle tool, the card will take a spot in your main deck list, and count toward the total number of cards, but it will show up as a blank image with no Oracle data or card information.

Cockatrice Settings

TODO

Learning the Ropes / Starting a Solitaire Game

The best way to get familiar with the way Cockatrice plays is to start a local game that you can play around in by yourself. You could also jump online and start slowly learning, and let other players help you.

To start a Solo Local game, in the main Cockatrice window, click on “Cockatrice” on the top left, and select “Start local game…”.

Screenshot from 2023-09-21 12-14-13

This will bring up a small window that lets you select how many players will be in this local game you are creating. For right now, since we want to do a solo Solitaire game, select one player and hit “OK”.

Screenshot from 2023-09-21 12-14-31

Loading a Deck / Using Sideboard

This will now bring you to a screen where you load a deck to play with. On the top left part of this screen you will find a button that is labeled “Load Local Deck”. Click that button and it will bring up a window where you can find and select what deck you would like to play with.

Screenshot from 2023-09-21 12-16-27

Select a deck or a .cod file and click “Open”.

After the file has loaded you will see all of the cards in that deck laid out on the table. If you hover your mouse over a card, the card image and Oracle info will show on the right side of the screen. If you have a sideboard made for the deck there will be a second section on the table for this sideboard. This screen gives you the ability to double check your deck to make sure it is not only the correct deck you want to play with, but it lets you see that all card images have downloaded properly. If you have cards not showing up at all or they are just blank cards with names on them, you may not have that set downloaded with your Oracle tool. If you have a sideboard, you can drag and drop cards from your main deck to your sideboard or vice-versa. You can do this by clicking and dragging a card to or from your main deck or sideboard.

NOTE: Moving cards from your main deck to sideboard will NOT change how your deck file is saved, it will only change it temporary for the game you are playing or until you load a new deck.

When you are satisfied with your deck choice and/or sideboarding options, click on the red outlined “Ready to start” button found a the top of the screen.

Finding Your Way Around

The main game screen looks like this:

labeled cockatrice board

(Please note your screen may look different due to background image options.)

Main Table / Play area

Split into four areas, this is where all the action will go down.

The Stack : The area on the left side of the table where Instant and Sorcery cards will be played. This is for things that will only temporarily be put on the table, then into the graveyard. Multiple cards may be added to this area at the same time. Anything on this part of the table will be seen by all players.

Battlefield : This is the soul part of the game table. this is where creatures, enchantments, artifacts, and planeswalkers will be placed. As cards are moved from your hand to the table, they will be aligned to an invisible grid and moved around from there. Tap cards by double clicking them. Anything on this part of the table will be seen by all players.

Land : This space is for land cards, but any card may be placed here. Tap cards here by double clicking them. Anything on this part of the table will be seen by all players.

Hand : Every time you draw a card it will go here to your hand. You may also drag cards from the table back to your hand. Your opponents cannot see what is in your hand.

Player Info Section

Screenshot from 2022-12-10 17-47-24

Player Avatar : This is a $156\times 60$ pixel JPG image that can be uploaded though the main Cockatrice website. All players in the game room can see this image. It serves as nothing more than an online identity for you and other players.

Player Name : Your online name that you picked though the main Cockatrice website.

Life Total : Your in-game life. Using your mouse, if left-clicked will raise this number by one, and if right-clicked lowered by one. There are also keyboard shortcuts to change your life total.

Counters : These seven multicolored circles are used as counters. They can be seen by all players and can be changed by left or right clicking on them to add or subtract a number. Players primarily use them for adding and subtracting floating mana produced by card effects. The bottom white and orange counters can be used for other things like Poison.

Library : This is your deck of cards. The number in the middle reflects how many cards are left in your library. Double clicking the deck lets you draw a card and add it to your hand. You can also drag cards off the top into the battlefield or to your hand. Right-clicking the deck brings up a menu that allows other things to happen like revealing the top number of cards, shuffling, or moving cards directly into the graveyard.

Number of cards in hand : The number in the middle represents how many cards are currently in your hand. Other players can see this number but cannot see the cards actually in your hand.

Graveyard : Cards can be dragged and dropped into your graveyard from play or vise-versa, the stack, your hand, or even your library. The number in the middle represents how many cards are currently in your graveyard. Any player may right-click on the graveyard and bring up a menu that shows what cards are in it.

Exile : Cards can be dragged and dropped into exile from play, the stack, your hand, or your library or vice-versa. The number in the middle represents how many cards are currently in your exile. Any player may right-click on the exile and bring up a menu that shows what cards are in it.

Turn Phases

Screenshot from 2022-12-02 18-40-54

This bar located on the left most side of the screen represents the 11 steps in a players turn. To go from one phase to the next, you can click on the square of the phase you want to move to, or you can hit Ctrl+space to move down to the next. Some phases even have their own keyboard shortcut. Going from one phase to the next does not actually do anything to your or your cards, it is only a place marker for your opponents to see and keep up with what you are doing in your turn. For example, clicking to the “Draw Phase” will not automatically draw you a card. It is customary for a player to end their turn on the “End of turn step” and let their opponent hit the “next turn” button. This is a courtesy for other players if they wish to do something like use an instant at the end of your turn, or in response to something you did.

NOTE: Players sometimes use the term EOT which stands for “End Of Turn”. This is to let other players know they are doing something in response to the end of the current turn.

Info/Chat Bar

Screenshot from 2022-12-02 18-42-06

Split into three sections, the Info/Chat bar lets you see a close-up image of the card your mouse was last over, as well as gives you the card info for that card. At the bottom of this bar there is a chat log that helps keep track of events during the game as well as lets you communicate with other players. If a card is placed on the table, pointed at, or tapped it will get noted in the chat log with a link to the card that you can hover over and see an image of at the top of the bar.

Basic Functions

Rolling Dice

At the beginning of a game players decide who is going first by rolling a 20 sided die. In Cockatrice we do this by pressing Ctrl + I (Windows/Linux) or Cmd + I on macOS and hitting enter. This brings up a die window and lets you select how many sides you want on your die. Default is 20, and pressing enter will “roll” the die. This action will show up in the cat log at on the bottom right of the screen.

Screenshot from 2023-09-21 12-38-57

You can also find this in the Game menu at the top of the window, selecting Player and clicking on Roll die…

Screenshot from 2023-09-21 12-41-08

Alternatively, the Player menu can be accessed directly via right-clicking (Windows/Linux) or cmd-clicking/two-finger clicking (macOS) on the play area itself.

Screenshot from 2023-09-21 12-39-13

Draw Cards / Mulligan

When a game starts and the first player has been selected, all players will draw seven cards. this can be done by pressing Ctrl-M. Seven cards will go from your library to your hand. Pressing Ctrl-M again will put the seven cards from your hand back into your library, shuffle your library and deal out six new cards to you. Each time you press Ctrl-M it will give you one less card until you get down to one card, then it will re-start at seven cards. This function can be found by clicking the “game” menu on the top of the window, selecting “player” then selecting “hand” and then “take Mulligan”. If you are playing a friendly game, press Ctrl-M as normal, but then press Ctrl-D to draw cards until you have a total of seven again.

Screenshot from 2023-09-21 12-44-43

Tapping

Tapping cards is very basic. If a card is on the table under your control, you can double click it to tap it and then double click again to untap it. You can select multiple cards on the table by clicking and dragging your mouse, then tap or untap all of the selected cards at the same time. Other players can not tap or untap your cards. Pressing Ctrl-U will untap everything you control.

  • Untapped

    image

  • Tapped

    image

Attaching Cards to Cards

Sometimes an Enchantment -Aura or Equipment cards need to be attached to other cards that are already on the table. simply put the enchantment or equipment on the table. Right-click the card and select “attach” (this can also be done with Ctrl-A). A green arrow will appear, point and click on the card you wish to attach. You can also attach cards to other people’s cards.

image

image

Changing Power/Toughness

Enchantments, Equipment, and other effects sometimes change a creatures power or toughness. This can be done by right-clicking the card, and selecting “power / toughness” then selecting which one you wish to do. Other players can not change your creatures power and toughness. This can also be done though a series of keyboard shortcuts seen below.


(Select card) Ctrl++ Increase power (Select card) Ctrl+- Decrease power (Select card) Alt++ Increase toughness (Select card) Alt+- Decrease toughness (Select card) Ctrl+Alt++ Increase power and toughness (Select card) Ctrl+Alt+- Decrease power and toughness


image

image

Adding Counters to Cards

Sometimes Counters are needed to be placed on cards that the counters on the side of the screen are not able to track. Cockatrice offers three different counter color options, Red, Green, and Yellow. Although there is no set standard on what color stands for what, it is mostly player preference. Green could be used for +1/+1, red -1/-1, leaving yellow for charge and quest counters, this is not a set rule. Adding counters is as simple as right clicking on the card you wish to add counters too, and currently there is no keyboard shortcut for this process. Removing counters is the same process, right click and select remove. Other players can not add or remove counters to or from your cards.

image

(One of each counter)

Pointing at Cards / Arrows

Pointing at cards is needed for resolving spells, or declaring attackers and blockers. All you need to do is right-click over a card and drag an arrow over to what you are pointing at. Permanents, spells in the stack, and even a players life total can be pointed at. You can point at your opponents cards and life total, and they can point at yours. When your arrows are no loner needed, press Ctrl-R to remove them from the screen.

image

image

Creating Tokens

Creating tokens can sometimes be tedious, but is well worth the effort to keep a clean and organized game. Pressing Ctrl-T will bring up a small window to assist you in creating a token. Simply enter the name of the token you are creating, select its color, and give it a power and toughness (#/#). You can also bring up this token window by selecting “game” from the top menu, selecting “Player” then clicking on “Create Token…”. A copy of the Last token made can be done by pressing *Ctrl+G or right-clicking on a already made token (or any card on the table) and selecting “clone” or pressing Ctrl-H**. When a token or clone leaves play, it will be destroyed and vanish.

image

image

image

image

Make copies of your last token by pressing Ctrl-G.

image

Playing Online

With Cockatrice you will most likely play card games over the Internet with real people all around the world. In order to help maintain a pleasant environment for users, please read the information the server provides.

Connect to Server

To connect to the Cockatrice server, launch the Cockatrice program, go to the “Cockatrice” menu at the top left, and select “Connect”. A window will appear (see image below).

Screenshot from 2023-09-21 12-18-45

If you have registered with Cockatrice, then enter your Username in the “Player Name” field and your password in the “Password” field then click “OK”. You may check the “Remember Password” box if you wish. If you do, then the next time “Connect” is selected from the “Cockatrice” menu, the window that appears will already have your Username and Password already filled. Please take this into consideration if you share a computer with other people, seeing that you are responsible for anything that happens on the server with your username (As noted here). If you did not register with Cockatrice, then simply fill in the Username with whatever you like and click “OK”. If you would like to become a registered user, read the instructions from the server’s website.

Once you are connected to the server, more tabs will appear at the top of the screen next to the “Deck” tab that you are already on.

All About Games

This page is about creating, joining, watching, and searching for games on the Cockatrice Server. In order to participate in any games, you have to be connected to the server. The games on the server are where all of the action take place. There will be many games happening on the server at the same time. Basically, first a game is created by a player (it could be you). Then other players join the game until the number of players reaches the number set by that game’s creator. When the game has no players participating in it, the game disappears. Creating a Game

To Create a game, go to the “Magic” tab.

Screenshot from 2023-09-21 12-19-45

Click on the “Create” button below the Games list. A window will appear (see below).

Screenshot from 2023-09-21 12-37-09

Here are all of the options for creating a game:

Description : Describe the game in your own words (i.e. “Competitive Standard”, “Casual EDH- No Infinites”, “RavnicaDraft”, “Here is Chris”)

Players : Specify the number of Players in the game. This cannot be changed after the game is created. The game can only begin when the specified number of players join.

Spectators : Spectators are users that are in a game, but they are not one of the players. Spectators can see all of the public zones of the game and everything displayed in the Info/Chat Bar. Any number of users can join a game as a Spectator (as long as the “Spectators Allowed” box is checked).

Spectators Allowed
:   Unchecking this box will prohibit any/all users from joining the
    game as a Spectator.

Spectators Need a Password to Join
:   Checking this box will make it so that in order for a user to
    join as a Spectator, they need to type the password you specify
    in the Password Field.

Spectators can Chat
:   Checking this box will allow Spectators to type comments in the
    Chat bar during the game.

Spectators See Everything
:   Checking this box will allow Spectators to view cards in all
    private zones of all players (hands, libraries, face-down
    cards).

Password Field : If you type anything in this field, a Player (or Spectator if the “Spectators Need Password” box is checked) will need to type the exact same thing you typed in order to join the game (and it is case-sensitive).

Only Buddies Can Join : Checking this box will prevent any user who is not in your Buddy List from joining the game as a Player or Spectator. NOTE: Your username is not on your buddy list. If you leave a game you created, and this box is checked, you will not be able to rejoin.

Only Registered Users Can Join : Checking this box will prevent anyone who has not registered on the Cockatrice website from joining as a Player or Spectator.

Game Type : These check boxes have no effect on the game. They inform other Users browsing the Games list of what format your game is. Users can choose to view only games of a certain Type/Format.

Joining a Game

Most of the time, to join a game you click on the “MTG Room” tab, click on a game in the Games list, then click Join. If the Game’s creator specified a password then you will have to type that password in a small window that appears after you click Join (the password is case-sensitive). If your User Profile meets the criteria of the Game’s creator then a new tab will open with that game. There is also an easy way to join a game in which a User in your Buddy List is playing. Go to the “User Lists” tab, right click any Username from the Buddies Online list (at the left of the window) to make a menu appear, and select “Show this user’s games”. A window will open with a list of games that the User is either playing or watching. In the same manner as described with the room tab, simply click on a game and click Join. To watch a game, the instructions are the same except that you click the “Join as Spectator” button instead of the Join button. NOTE: If you are a player in a game and you wish to become a spectator in that game, you must first leave the game then rejoin as a Spectator. Same thing if you are a Spectator and wish to play.

Searching for Games

The Games list in the room tab displays by default all games that have not reached the specified number of players. The “Filter Games” button makes looking through this list easier if you are looking to join a particular kind of game. When this button is selected, a window appears (see below).

image

Game Description : Displays games with certain descriptions. You can even search partial names.

Creator : Displays games created by Users with that username. It even searches for partial names.

Player Count : Displays all games where the specified number of players is greater-than or equal to the “at least” number and less-than or equal to the “at most” number. For instance, setting both numbers to 3 will display all games whose creators made as 3-player games.

Show Unavailable Games : Checking this box will display games that are full and in progress. You can still join these games as a Spectator if the game’s creator allows it.

Game Types : Displays games with the selected types. Bear in mind that the Cockatrice software does not enforce deck construction for formats. So just because a game’s type is set to some special type, doesn’t necessarily mean that is what’s being played in the game. Players can agree to switch formats in a game.

Keeping Track of Buddies

Cockatrice allows registered users to keep track of other registered users in a buddy list. You won’t be able to do anything with this list (or other registered users at all) unless you are a registered user and connected to the server.

To add a User to your Buddy list, right-click their username and, in the menu that appears, select “Add to buddy list”. You can right-click and add a User in this manner anywhere you see their username (under the “User lists” tab, the room tab, in a game, or in a direct chat). When you add a User, their username will appear in the list “Buddies Online” located under the “Account” tab. If the username appears in a light shade of gray, then that User is not connected to the server. If it appears in black, then that User is connected to the server.

If you see that one of your Buddies is connected, you can see the games he/she is currently in. Right-click their username, and in the menu that appears select “Show this user’s games”. A window will appear from which you can watch or play in a game that your buddy is currently in.

You can Direct Chat with a Buddy (or any user for that matter) by right-clicking their username and, from the menu that appears, selecting “Direct Chat”. When you do this, a new tab will open (both on your window and on the other User’s window) containing a chat room that can only be seen and used by the two of you. The place where you type in your messages is at the very bottom of the window.

To remove a User from your Buddy list, right-click their username, and from the menu that appears select “Remove from buddy list”.

Dealing with and Preventing Unpleasantries

Talk to the mod team on your server and report them! Screenshots always help. You can also right-click a username to add them to your Ignore List.

Frequently Asked Questions (FAQ)

Frequently-Asked-Questions

Change Card Art / Custom Card Art

Custom Cards & Sets

Use Higher Resolution Cards

Can you get better/higher resolution card art than the default downloaded card images already used?

Yes!

When you click on a card for the first time in the Deck Editor, Cockatrice goes onto the internet and finds an image of that card from a database on another website.

If you find a higher resolution .JPG of a card that you wish to use on your Cockatrice, you can replace the image with no problem. If you can find a card image in the 3,000 by 1,000 pixel range, and save it as the cards (exact) name and add .Full to the end.

If you are using Windows 7, you can find the default location for the Cockatrice card art files under C:\Program Files (x86)\Cockatrice\pics\downloadedPics. Once there, look for the folder of the set for the card you are replacing. (If you are not running Cockatrice as an administrator, look in C:\Users\username\AppData\Local\VirtualStore\Program Files (x86)\Cockatrice\pics\downloadedPics.)

Open the folder of the set with the card, and paste/replace the new higher resolution .JPG image with the old low quality one.

This process is the same for changing cards to custom images.

NOTE: Other Cockatrice players will not see your higher resolution card art, they will only see the image they have in their own database.

Linking cards in the Cockatrice chat.

The Cockatrice chat supports linking of cards and URLs by use of certain tags around a word or phrase.

How to link a card in the Cockatrice chat

To link a card in the Cockatrice chat, type out the full name of the card, surrounded by the [card] and [/card] tags.

For example:

[card]Card Name[/card]



To Do (taken out of TODO.md)

##Improve usermanual:
* Improve Layout, Text, Screenshots; nearly everything is still quick n dirty copy and paste.
* Add missing TODOs
* Rename the picture filenames to something more meaningful.
* Create an index, lists of tables/figures/...
⚠️ **GitHub.com Fallback** ⚠️