GitHub - Rescator7/Hearts: The game of card Hearts for linux using QT widgets. Play online or offline.
The game of card Hearts for linux using QT widgets. Play online or offline. - Rescator7/Hearts Toggle navigation Sign in Search or jump to…
Search code, repositories, users, issues, pull requests…
Search syntax tips # Provide feedback Cancel Submit feedback # Saved searches
Use saved searches to filter your results more quickly
Cancel Create saved search Sign in Sign up Search syntax tips
Use saved searches to filter your results more quickly
MIT license 15 stars 3 forks BranchesTagsActivity Star Notifications You must be signed in to change notification settingsThis commit does not belong to any branch on this repository, and may belong to a fork outside of the repository. masterBranchesTagsGo to fileCode
Folders and files
Name | Name | Last commit message | Last commit date |
---|---|---|---|
Latest commit
History 225 Commits |
|
SVG-cards |
SVG-cards | | |
|
backgrounds |
backgrounds | | |
|
icons |
icons | | |
|
languages |
languages | | |
|
screenshot |
screenshot | | |
|
sounds |
sounds | | |
|
Changelog |
Changelog | | |
|
Credits |
Credits | | |
|
Hearts.pro |
Hearts.pro | | |
|
Hearts.pro.user |
Hearts.pro.user | | |
|
LICENSE |
LICENSE | | |
|
README.md |
README.md | | |
|
ccardsplayed.cpp |
ccardsplayed.cpp | | |
|
ccardsplayed.h |
ccardsplayed.h | | |
|
cdeck.cpp |
cdeck.cpp | | |
|
cdeck.h |
cdeck.h | | |
|
cgame.cpp |
cgame.cpp | | |
|
cgame.h |
cgame.h | | |
|
cgame.ui |
cgame.ui | | |
|
chearts.cpp |
chearts.cpp | | |
|
chearts.h |
chearts.h | | |
|
clabel.cpp |
clabel.cpp | | |
|
clabel.h |
clabel.h | | |
|
client.cpp |
client.cpp | | |
|
client.h |
client.h | | |
|
config.cpp |
config.cpp | | |
|
config.h |
config.h | | |
|
connect.cpp |
connect.cpp | | |
|
connect.h |
connect.h | | |
|
connect.ui |
connect.ui | | |
|
credits.cpp |
credits.cpp | | |
|
credits.h |
credits.h | | |
|
credits.ui |
credits.ui | | |
|
cstatistics.cpp |
cstatistics.cpp | | |
|
cstatistics.h |
cstatistics.h | | |
|
cstatistics.ui |
cstatistics.ui | | |
|
ctable.cpp |
ctable.cpp | | |
|
ctable.h |
ctable.h | | |
|
ctable.ui |
ctable.ui | | |
|
debug.cpp |
debug.cpp | | |
|
debug.h |
debug.h | | |
|
define.h |
define.h | | |
|
main.cpp |
main.cpp | | |
|
mainwindow.cpp |
mainwindow.cpp | | |
|
mainwindow.h |
mainwindow.h | | |
|
mainwindow.ui |
mainwindow.ui | | |
|
online.cpp |
online.cpp | | |
|
online.h |
online.h | | |
|
online.ui |
online.ui | | |
|
resources.qrc |
resources.qrc | | |
|
rules.cpp |
rules.cpp | | |
|
rules.h |
rules.h | | |
|
rules.ui |
rules.ui | | |
|
settings.cpp |
settings.cpp | | |
|
settings.h |
settings.h | | |
|
settings.ui |
settings.ui | | |
|
speed.cpp |
speed.cpp | | |
|
speed.h |
speed.h | | |
|
speed.ui |
speed.ui | | |
|
variants.h |
variants.h | | |
| View all files |
Repository files navigation
Hearts 1.8.10 (Linux, C++)
The card game Hearts for QT 5 or 6, and liballegro 5 (for sounds support) You can download Hearts as a snap package from: Alternatively, you can download an AppImage from https://www.linux-apps.com/p/1275760/ in the files section. Or see below “How to build the source code” on your computer.
Game Features:
- Support online and offline game play.
- Support 3 languages. (English, French, Russian).
- Support 5 differents deck: Standard, Nicu (white), English, Russian, Tigullio (modern).
- 5 background images theme: Universe, Ocean, Mt. Fuji, Everest, Desert.
- Helps Rules, Online, Settings, Credits
- Sounds.
- Easy card selection. (offline only)
- Detect TRAM “The rest are mine” (offline only).
Game Variants Turn on/off:
- Queen of spade breaks heart.
- Omnibus. (Jack Diamond -10 pts).
- No Tricks. (Bonus -5 pts).
- New Moon. (Allow human player who shoot the moon to choose between add 26 pts to the opponents, or substract 26 pts to his own score).
- Perfect 100. (A player who get the score of 100 pts have his score reduce to 50 pts).
- No Draw. (Disable multiple winners).
Offline Options:
- Undo.
- Animated play.
- Three pre-defined game speed: Slow, Normal, Fast.
- A Customized game speed option (for expert only).
- Autosave/Autoreload of the unfinished game.
- Cheat mode. (Reveal your opponents’s cards).
- Cards history.
- Cards played list.
- Complete game statistics. and more… Note: Undo is only available when it’s your turn to play. You must first have played a card before. No undo available from a saved game. The undo will be purged every round or if you connect to a server. Not available online. Only 1 undo at a time is possible. e.g: No multiple undos in a row.
How to build the source code.
1. Requirements:
- QT Widget 5
- QT SVG 5
- Liballegro 5 NOTE: Version 1.8 and above require at lease 4G of ram to build. g++ -c -pipe -O2 -std=gnu++11 -Wall -W -D_REENTRANT -fPIC -DONLINE_PLAY -DUSE_LIBALLEGRO5 -DFULL_SCREEN -DDEBUG -DQT_NO_DEBUG -DQT_SVG_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -isystem /usr/include/x86_64-linux-gnu/qt5 -isystem /usr/include/x86_64-linux-gnu/qt5/QtSvg -isystem /usr/include/x86_64-linux-gnu/qt5/QtWidgets -isystem /usr/include/x86_64-linux-gnu/qt5/QtGui -isystem /usr/include/x86_64-linux-gnu/qt5/QtNetwork -isystem /usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o qrc_resources.o qrc_resources.cpp g++: fatal error: Killed signal terminated program cc1plus compilation terminated. make: *** Makefile:902: qrc_resources.o Error 1If you encounter this message. It means the compiler is running out of Memory and can’t build the application. Try to free some memory.
2. Install requirements: (under ubuntu 16.04)
sudo apt-get update sudo apt-get install git sudo apt-get install build-essential sudo apt-get install qt5-default sudo apt-get install liballegro5-dev sudo apt-get install libqt5svg5-devNOTE: libqt5svg5-dev is required since version 1.7
3. Download the source code
git clone https://github.com/Rescator7/Hearts.git
3a. Build the code
cd Hearts qmake Hearts.pro make
3b. Install / Execute Hearts
Please note: There is no “make install” as the binary “Hearts” already contains all the components: icons, sounds, images, etc. It can be run by (from the build directory): ./HeartsIt could be copied to the Desktop (run by double-click Hearts) cp ./Hearts ~/DesktopOr copied to a “common” binaries’s path such as: cp ./Hearts /usr/local/bin Hearts
4. Licenses:
- MIT for the software (source code)
- Standard cards deck: https://github.com/htdebeer/SVG-cards/blob/master/LICENSE
- Nicu (white) cards deck: https://creativecommons.org/licenses/publicdomain/
- Sounds are CC 3.0 and 1.0
- Background images are CC 3.0 and 1.0
- Icons: (read credits)
- READ CREDITS for all the licenses details: https://github.com/Rescator7/Hearts/blob/master/Credits
About
The game of card Hearts for linux using QT widgets. Play online or offline.
Topics
game qt online offline cards hearts
Resources
Readme
License
MIT license Activity
Stars
15 stars
Watchers
2 watching
Forks
3 forks Report repository
Releases 5
Version 1.6 Latest Nov 29, 2020 + 4 releases
Packages 0
No packages published
Languages
- C++97.1%
- C2.0%
- QMake0.9%
Name Name Last commit message Last commit date
Latest commit
History 225 Commits |
|
SVG-cards |
SVG-cards | | |
|
backgrounds |
backgrounds | | |
|
icons |
icons | | |
|
languages |
languages | | |
|
screenshot |
screenshot | | |
|
sounds |
sounds | | |
|
Changelog |
Changelog | | |
|
Credits |
Credits | | |
|
Hearts.pro |
Hearts.pro | | |
|
Hearts.pro.user |
Hearts.pro.user | | |
|
LICENSE |
LICENSE | | |
|
README.md |
README.md | | |
|
ccardsplayed.cpp |
ccardsplayed.cpp | | |
|
ccardsplayed.h |
ccardsplayed.h | | |
|
cdeck.cpp |
cdeck.cpp | | |
|
cdeck.h |
cdeck.h | | |
|
cgame.cpp |
cgame.cpp | | |
|
cgame.h |
cgame.h | | |
|
cgame.ui |
cgame.ui | | |
|
chearts.cpp |
chearts.cpp | | |
|
chearts.h |
chearts.h | | |
|
clabel.cpp |
clabel.cpp | | |
|
clabel.h |
clabel.h | | |
|
client.cpp |
client.cpp | | |
|
client.h |
client.h | | |
|
config.cpp |
config.cpp | | |
|
config.h |
config.h | | |
|
connect.cpp |
connect.cpp | | |
|
connect.h |
connect.h | | |
|
connect.ui |
connect.ui | | |
|
credits.cpp |
credits.cpp | | |
|
credits.h |
credits.h | | |
|
credits.ui |
credits.ui | | |
|
cstatistics.cpp |
cstatistics.cpp | | |
|
cstatistics.h |
cstatistics.h | | |
|
cstatistics.ui |
cstatistics.ui | | |
|
ctable.cpp |
ctable.cpp | | |
|
ctable.h |
ctable.h | | |
|
ctable.ui |
ctable.ui | | |
|
debug.cpp |
debug.cpp | | |
|
debug.h |
debug.h | | |
|
define.h |
define.h | | |
|
main.cpp |
main.cpp | | |
|
mainwindow.cpp |
mainwindow.cpp | | |
|
mainwindow.h |
mainwindow.h | | |
|
mainwindow.ui |
mainwindow.ui | | |
|
online.cpp |
online.cpp | | |
|
online.h |
online.h | | |
|
online.ui |
online.ui | | |
|
resources.qrc |
resources.qrc | | |
|
rules.cpp |
rules.cpp | | |
|
rules.h |
rules.h | | |
|
rules.ui |
rules.ui | | |
|
settings.cpp |
settings.cpp | | |
|
settings.h |
settings.h | | |
|
settings.ui |
settings.ui | | |
|
speed.cpp |
speed.cpp | | |
|
speed.h |
speed.h | | |
|
speed.ui |
speed.ui | | |
|
variants.h |
variants.h | | |
| View all files |
History
225 Commits225 Commits The game of card Hearts for linux using QT widgets. Play online or offline.
Topics
game qt online offline cards hearts
Resources
Readme
License
MIT license Activity
Stars
15 stars
Watchers
2 watching
Forks
3 forks Report repository Version 1.6 Latest Nov 29, 2020 + 4 releases No packages published - C++97.1%
- C2.0%
- QMake0.9%
This site only collects related articles. Viewing the original, please copy and open the following link:GitHub - Rescator7/Hearts: The game of card Hearts for linux using QT widgets. Play online or offline.