[Kde-games-devel] New card game for kde, first contribution

Olivier Attaque olivattaque at gmail.com
Thu Jun 25 05:51:29 UTC 2015


Hi Ian, thanks for your reply !

I just leaved Melbourne 1 month ago where I stayed 5 months :P

Sorry for the delay with my reply, I was thinking of the best direction to
go.
Before your answer I sent a mail to Stephan Kulow the current maintainer of
KPat.
He told me that he was not really maintaining KPat anymore, he doesn't read
this mailing list anymore.
He proposed me to be the maintainer and to make this decision myself, but
as this is my first contribution I'm not sure i'm experienced enough to
take over this maintainership.

But what he said to me and your input make sense.
I think i'll let "krapette" (thanks for the note on the name btw, I will
stick with the most known name "Russian Bank") inside KPat but i'll remove
the ability to change players input (so it will be only player against
computer), also i'll remove the rule where you can stop other player
progression if he makes a mistake.
This to keep the game and the ui simple so it better fit in KPat.
As I'm really enthusiast about contributing for kde, i think after this
i'll try do to some other stuff (bug fix, improvements in kde games and
kdeedu), but i'll develop a proper, separate application later with the
features i removed from the KPat version and with a match feature,
tablet/table ui for 2 players, more detailled settings for compulsory
moves, variants rules etc. And maybe this one could be named Klondike
Battle but we'll see..

I may still have a question for you as I'm working on integrating
KgDifficulty in KPat.
The trick here is that it's only needed for my game (for now) so i modified
the application to only show it when it launch my game (or any other game
that implement getKgDifficulty()) but with the state of the lib I can't
hide or remove the gui when the game type is changed (for example from
russian bank to simon).
I saw that you talk about the possibility to tweak KgDifficultyGui here
https://mail.kde.org/pipermail/kde-games-devel/2012-February/008552.html,
what do you think of what new abilities I need from KgDifficultyGui for
KPat, do you think it is doable ? I've you done any progress ou willing to
do something similar or maybe it's a task that a newbie like me could do ?
Otherwise I could just do it by myself in the settings menu, it's not
really what libkdegames want I guess, but it could be fine.

Thanks for your time

Olivier

2015-06-22 13:11 GMT+10:00 Ian Wadham <iandw.au at gmail.com>:

> 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.
>
> _______________________________________________
> kde-games-devel mailing list
> kde-games-devel at kde.org
> https://mail.kde.org/mailman/listinfo/kde-games-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-games-devel/attachments/20150625/c424e754/attachment.html>


More information about the kde-games-devel mailing list