mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2025-12-12 23:59:34 -08:00
2b7ea0c9837c85b158feca88a7d5870f7d20003c
The global shortcuts were removed in favor of key events which are only triggered when a widget has focus. This is necessary to allow different widgets to react differently to the 'enter' key. The current key configuration is: search edit focused: * left/right: decrease/increase card count for selected database card * enter: add selected card to deck * ctrl-enter: add selected card to deck sideboard * ctrl-left/right: decrease/increase card count in sideboard for selected card database focused: the same as with search edit. deckview focused: * left/right: decrease/increase card count for selected deckview card * enter: increase count for selected deckview card * delete/backspace: delete selected card from deck
Cockatrice
Cockatrice is an open-source multiplatform software for playing card games, such as Magic: The Gathering, over a network. It is fully client-server based to prevent any kind of cheating, though it supports single-player games without a network interface as well. Both client and server are written in Qt 4.
License
Cockatrice is free software, licensed under the GPLv2; see COPYING for details.
Building
Dependencies:
The server requires an additional dependency:
To compile:
mkdir build
cd build
cmake ..
make
make install
The following flags can be passed to cmake:
-DWITH_SERVER=1build the server-DWITHOUT_CLIENT=1do not build the client
Running
oracle fetches card data
cockatrice is the game client
servatrice is the server
Languages
C++
88.7%
TypeScript
6.6%
CMake
2.2%
C
0.9%
Shell
0.9%
Other
0.6%