[Kde-games-devel] New card game for kde, first contribution
Ian Wadham
iandw.au at gmail.com
Mon Jun 22 03:11:51 UTC 2015
Hi Olivier and welcome!!
On 17/06/2015, at 9:25 AM, Olivier Attaque wrote:
> Let me introduce myself first as this is my first ever post for kde, my name is Olivier Felt (but Oli is fine), I'm a french software engineer and I currently live in Brisbane, Australia.
Waving… I'm in Melbourne… :-)
> As I said I'm working on a new card game for kPat but slighty different as it is a 2 player card game, I'm talking about crapette or also known as Russian Bank/Klondike Battle which I named "Krapette". You can see the rules here http://www.pagat.com/patience/crapette.html. It is a really fun and challenging patience game.
> My first and main concern is if i should develop this new game inside of kPat or aside.
>
> Krapette really fit inside kPat because it's basicaly a Klondike but played by 2 players, with the same idea and rules of a patience game. Therefore I use a lot of the logic from kPat (dealer.cpp, patpile.cpp, pileutils etc).
> I play to it the same way i would play to klondike or spider. But it is a 2 players game (I developed a basic AI as a start) and it might need a few modifications to kPat to solve some remaining issues I have (for example : win/lost message, using KgDifficulty, change what appear in the statusBar..) or not maybe I can already do it but don't know how yet.
Maybe you could get KPat to make another executable with your own application name.
Also, if you have to introduce alternative lines into some of the KPat classes, rather than
encapsulating them in your own classes, you could use #ifdef in your code and the definition
could then be set (or not set) in the CMakeLists.txt.
> How could I share my work with you so you can try it to have a better idea of what I'm talking about ?
> I was thinking of creating a personal clone of kPat but I need a developer account for that, for that developer account I need previous work on kde but this is my first one.
> I created a patch that i can send you via the mailing list otherwise.
I think you should avoid the name Krapette. It may be OK in US English, where there is
a dice game called Craps https://en.wikipedia.org/wiki/Craps, but in Aussie, UK and other
English it has this meaning, https://en.wikipedia.org/wiki/Crap. Check with your colleagues
in Brisbane… :-)
All the best,
Ian W.
More information about the kde-games-devel
mailing list