All Projects → Cockatrice → Cockatrice

Cockatrice / Cockatrice

Licence: gpl-2.0
A cross-platform virtual tabletop for multiplayer card games

Projects that are alternatives of or similar to Cockatrice

Mtgatracker
MTGATracker is a deck tracker for MTG Arena, offering an in-game overlay that shows real time info about your deck in MTGA. It can also record & analyze your past matches to show personal aggregated gameplay history information, like lifetime wins/losses by deck, by event, etc.
Stars: ✭ 232 (-77.97%)
Mutual labels:  hacktoberfest, magic-the-gathering
Mtgjson
MTGJSON build scripts for Magic: the Gathering
Stars: ✭ 191 (-81.86%)
Mutual labels:  hacktoberfest, magic-the-gathering
Smile Format Specification
New home for Smile format (https://en.wikipedia.org/wiki/Smile_(data_interchange_format))
Stars: ✭ 48 (-95.44%)
Mutual labels:  hacktoberfest
Dns Tool
A set of browser-based DNS tools for DigitalOcean Community.
Stars: ✭ 50 (-95.25%)
Mutual labels:  hacktoberfest
Counsel Spotify
Control Spotify App through Emacs
Stars: ✭ 49 (-95.35%)
Mutual labels:  hacktoberfest
Phppresentation
A pure PHP library for reading and writing presentations documents
Stars: ✭ 1,044 (-0.85%)
Mutual labels:  hacktoberfest
Code Cracker
An analyzer library for C# and VB that uses Roslyn to produce refactorings, code analysis, and other niceties.
Stars: ✭ 1,048 (-0.47%)
Mutual labels:  hacktoberfest
Pocket Casts Desktop App
The Pocket Casts webapp, packaged for the Linux Desktop.
Stars: ✭ 48 (-95.44%)
Mutual labels:  hacktoberfest
Curriculum
Workshop documentation and scripts
Stars: ✭ 50 (-95.25%)
Mutual labels:  hacktoberfest
Rpc Wine
discord-rpc.dll implementation for Wine allowing your Wine games to interact with your native Discord instance
Stars: ✭ 49 (-95.35%)
Mutual labels:  hacktoberfest
C Algorithms
All algorithms implemented in C
Stars: ✭ 51 (-95.16%)
Mutual labels:  hacktoberfest
Community Bot
The bot used on the TypeScript Community discord server
Stars: ✭ 46 (-95.63%)
Mutual labels:  hacktoberfest
Boilerplate
Responsive CSS, HTML and JavaScript front-end starting point.
Stars: ✭ 48 (-95.44%)
Mutual labels:  hacktoberfest
Ansible Mariadb Galera Cluster
Stars: ✭ 49 (-95.35%)
Mutual labels:  hacktoberfest
Spongeapi
A Minecraft plugin API
Stars: ✭ 1,043 (-0.95%)
Mutual labels:  hacktoberfest
Secrethub Go
Go client library for the SecretHub Secrets Management API
Stars: ✭ 50 (-95.25%)
Mutual labels:  hacktoberfest
Licensir
An Elixir mix task that lists all the licenses used by your Mix project dependencies.
Stars: ✭ 48 (-95.44%)
Mutual labels:  hacktoberfest
Laravel Pwa
Transform your website like Mobile Application while having full functionality of the website using Laravel PWA
Stars: ✭ 48 (-95.44%)
Mutual labels:  hacktoberfest
Resque
ResqueBundle for Symfony 4+
Stars: ✭ 49 (-95.35%)
Mutual labels:  hacktoberfest
Laravel Packager
A cli tool for creating Laravel packages
Stars: ✭ 1,049 (-0.38%)
Mutual labels:  hacktoberfest


Cockatrice | Download | Get Involved | Community | Translations | Build | Run | License



To get started, ⇢ view our webpage
To get support or suggest changes ⇢ file an issue (How?) To help with development, see how to get involved

Cockatrice

Cockatrice is an open-source, multiplatform program for playing tabletop card games over a network. The program's server design prevents users from manipulating the game for unfair advantage. The client also provides a single-player mode, which allows users to brew while offline. This project uses C++ and the Qt5 libraries.

Download Cockatrice Eternal Download Count

Downloads are available for full releases and the current beta version in development. There is no strict release schedule for either of them.

  • Latest stable release: Download from GitHub Releases DL Count on Latest Release

    • Stable versions are checkpoints featuring major feature and UI enhancements.
    • Recommended for most users!
  • Latest beta release: Download from GitHub Pre-Releases DL Count on Latest Pre-Release

    • Beta versions include the most recently added features and bugfixes, but can be unstable.
    • To be a Cockatrice Beta Tester, use this version. Find more information here!

Get Involved Discord Gitter Chat

Join our Discord community to connect with the project or fellow users of the app. The Cockatrice developers are also available on Gitter. Come here to talk about the application, features, or just to hang out.
For support regarding specific servers, please contact that server's admin or forum for support rather than asking here.

To contribute code to the project, please review the guidelines. We maintain two tags for contributors to find issues to work on:

  • Good first issue: issues tagged in this way provide a simple way to get started. They don't require much experience to be worked on.
  • Help wanted: This tag is used for issues that we are looking for a contributor to work on. Often this is for feature suggestions we are willing to accept, but don't have the time to work on ourselves.

For both tags, we're willing to provide help to contributors in showing them where and how they can make changes, as well as code review for changes they submit.

Read the long-term project roadmap to see planned edits and milestones here.

We try to be responsive to new issues. We'll provide advice on how best to implement a feature; alternately, we can show you where the codebase is doing something similar before you get too far along.

Cockatrice uses the Google Developer Documentation Style Guide to ensure consistent documentation. We encourage you to improve the documentation by suggesting edits based on this guide.

Community Resources

Translations Transifex Project

Cockatrice uses Transifex for translations. You can help us bring Cockatrice and Oracle to your language or just edit single wordings right from within your browser by visiting our Transifex project page.

Cockatrice Oracle
Cockatrice Translation Status Oracle Translation Status

Check out our Translator FAQ for more information about contributing!

Build Linux builds - master macOS builds - master Windows builds - master

Detailed compiling instructions can be found on the Cockatrice wiki under Compiling Cockatrice

Dependencies: (for minimum requirements search our CMake file)

Oracle can optionally use zlib and xz to load compressed files:

To compile:

mkdir build
cd build
cmake ..
make

You can then run

make install

to get a cockatrice installation inside the release folder, or:

make package

to create a system-specific installation package.

The following flags can be passed to cmake:

  • -DWITH_SERVER=1 Whether to build the server (default 0 = no).
  • -DWITH_CLIENT=0 Whether to build the client (default 1 = yes).
  • -DWITH_ORACLE=0 Whether to build oracle (default 1 = yes).
  • -DCMAKE_BUILD_TYPE=Debug Compile in debug mode. Enables extra logging output, debug symbols, and much more verbose compiler warnings (default Release).
  • -DWARNING_AS_ERROR=0 Whether to treat compilation warnings as errors in debug mode (default 1 = yes).
  • -DUPDATE_TRANSLATIONS=1 Configure make to update the translation .ts files for new strings in the source code. Note: Running make clean will remove the .ts files (default 0 = no).
  • -DTEST=1 Enable regression tests (default 0 = no). Note: needs googletest, will be downloaded on the fly if unavailable. To run tests: make test.

Run

Cockatrice is the game client
Oracle fetches card data
Servatrice is the server

Servatrice Docker container

You can run an instance of Servatrice (the Cockatrice server) using Docker and the Cockatrice Dockerfile.

First, create an image from the Dockerfile
cd /path/to/Cockatrice-Repo/ docker build -t servatrice .
And then run it
docker run -i -p 4747:4747/tcp -t servatrice:latest

Note: Running this command exposes the TCP port 4747 of the docker container
to permit connections to the server.

Find more information on how to use Servatrice with Docker in our wiki.

Docker compose

There is also a docker-compose file available which will configure and run both a MySQL server and Servatrice. The docker-compose setup scripts can be found in the servatrice/docker folder and vary only slightly from the default sql and server .ini files. The setup scripts can either be modified in place, or docker-compose can mount alternative files into the images, as you prefer.

To run Servatrice via docker-compose, first install docker-compose following the install instructions. Once installed, run the following from the root of the repository:

docker-compose build    # Build the Servatrice image using the same Dockerfile as above.
docker-compose up       # Setup and run both the MySQL server and Servatrice.

Note: Similar to the above Docker setup, this will expose TCP ports 4747 and 4748.

Note: The first time running the docker-compose setup, the MySQL server will take a little time to run the initial setup scripts. Due to this, the Servatrice instance may fail the first few attempts to connect to the database. Servatrice is set to restart: always in the docker-compose.yml, which will allow it to continue attempting to start up. Once the MySQL scripts have completed, Servatrice should then connect automatically on the next attempt.

Docker compose in Windows A out of box working docker-compose file has been added to help setup in Windows.

Docker in Windows requires additional steps in form of using Docker Desktop to allow resource sharing from the drive the volumes are mapped from, as well as potential workarounds needed to get file sharing working in Windows. This StackOverflow discussion sheds some light on it

License GPLv2 License

Cockatrice is free software, licensed under the GPLv2.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].