<?xml version="1.0" encoding="utf-8"?>
<?xml-stylesheet type="text/xsl" href="../../assets/xml/rss.xsl" media="all"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>blog.johanv.org (Posts about wiezen)</title><link>https://blog.johanv.org/</link><description></description><atom:link href="https://blog.johanv.org/en/categories/wiezen.xml" rel="self" type="application/rss+xml"></atom:link><language>en</language><copyright>Contents © 2025 &lt;a href="https://blog.johanv.org/pages/contact/"&gt;Johan Vervloet&lt;/a&gt; 
&lt;a rel="license" href="https://creativecommons.org/licenses/by-sa/4.0/"&gt;
&lt;img alt="Creative Commons License BY-NC-SA"
style="border-width:0; margin-bottom:12px;"
src="https://i.creativecommons.org/l/by-sa/4.0/88x31.png"&gt;&lt;/a&gt;</copyright><lastBuildDate>Wed, 29 Oct 2025 18:31:16 GMT</lastBuildDate><generator>Nikola (getnikola.com)</generator><docs>http://blogs.law.harvard.edu/tech/rss</docs><item><title>Upgrading Wdebelek to krakboem 1.0</title><link>https://blog.johanv.org/en/posts/upgrading-wdebelek-to-krakboem-1/</link><dc:creator>Johan Vervloet</dc:creator><description>&lt;div&gt;&lt;p&gt;As I mentioned in a previous blog post, I recently released
&lt;a href="https://blog.johanv.org/posts/my-first-symfony-bundle"&gt;version 1.0 of rva-vzw/krakboem&lt;/a&gt;, the custom
php library I created to use event sourcing and CQRS in my applications.
It comes together with a Symfony bundle,
&lt;a href="https://gitlab.com/rva-vzw/krakboem-bundle/"&gt;rva-vzw/krakboem-bundle&lt;/a&gt;, which
is now at version 0.1.2.&lt;/p&gt;
&lt;p&gt;The first project to use version 1.0, was
&lt;a href="https://blog.johanv.org/en/posts/wiezen-score-app"&gt;dikdikdik&lt;/a&gt;, the score app for the 
&lt;a href="https://en.wikipedia.org/wiki/Solo_whist"&gt;wiezen&lt;/a&gt; card game. This is
one of my &lt;em&gt;pet projects&lt;/em&gt;, in fact the one that I regulary work on.
So in order to test if the krakboem-bundle and the updated krakboem
actually worked, I tried to use them for dikdikdik. As everything seemed
to work fine, I tagged it krakboem 1.0.&lt;/p&gt;
&lt;p&gt;After that, I wanted to use krakboem 1.0 in &lt;a href="https://blog.johanv.org/en/posts/wiezen-app"&gt;wdebelek&lt;/a&gt;,
the app I wrote in covid-times, to play cards online.&lt;/p&gt;
&lt;p&gt;&lt;img alt="screenshot of the wdebelek card playing app" src="https://blog.johanv.org/galleries/cards/wdebelek.png"&gt;&lt;/p&gt;
&lt;p&gt;Wdebelek also uses krakboem, but it is different in that it uses
event based entity repositories instead of
&lt;a href="https://blog.johanv.org/posts/whist-with-a-decider"&gt;deciders&lt;/a&gt;. So I had to figure out if this
would work out fine as well. And while doing he upgrade, I had a nice
chance to improve
&lt;a href="https://gitlab.com/rva-vzw/krakboem/-/blob/develop/UPGRADE-1.0.md"&gt;the upgrade instructions for krakboem 1.0&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;I can't say the update was an easy one. Krakboem 1 requires php 8.3 and Symfony 
serializer 6. And for krakboem-bundle, I need Symfony 6.4.
All this means that I had to update some other dependencies as well. For php 8.3, it
mainly came down to updating
a package here and there. But since until last week, Wdebelek was built on Symfony 5.3, I had
quite some work with the Symfony upgrades. (&lt;strong&gt;update 2024-02-14:&lt;/strong&gt; Especially the new
recipes for codeception 5 were not straightforward.)&lt;/p&gt;
&lt;p&gt;The update of kraboem, from v 0.11 to 1.0, was also not trivial. Lots of classes
moved around. And quite some abstract base classes became read-only, a concept I wasn't
aware of back in 2020. (&lt;strong&gt;update 2024-02-15:&lt;/strong&gt; Identifiers are now expected to be
non-empty as well. This was also quiet an update.)&lt;/p&gt;
&lt;p&gt;But since last week, the 4th of february to be exact, wdebelek is running with
the latest versions of my libraries. It still needed a blog post, but hey,
here it is, so I am a happy programmer again. (Writing the blog post took me
a week, because of, you know, life.)&lt;/p&gt;
&lt;p&gt;If you want to try playing cards with Wdebelek,
you have to find at least 2 other people to play, and go to
&lt;a href="https://kaart.rijkvanafdronk.be"&gt;kaart.rijkvanafdronk.be&lt;/a&gt;. Remember that you
need to drag the cards to play them. (This is not really clear from
the UI, and it often causes some confusion).&lt;/p&gt;
&lt;p&gt;I still have one project to update: &lt;a href="https://gitlab.com/johanv/1jg"&gt;1jg&lt;/a&gt;,
another score app for another game. This will probably a little easier than
the Wdebelek update, because 1jg is already on Symfony 6.3. And of course
I now have nice upgrade instructions for krakboem and its bundle
now 😉.&lt;/p&gt;&lt;/div&gt;</description><guid>https://blog.johanv.org/en/posts/upgrading-wdebelek-to-krakboem-1/</guid><pubDate>Sat, 10 Feb 2024 14:42:00 GMT</pubDate></item><item><title>PHP event sourcing aan de kaarttafel</title><link>https://blog.johanv.org/en/posts/event-sourced-wiezen/</link><dc:creator>Johan Vervloet</dc:creator><description>&lt;div&gt;&lt;p&gt;Vandaag ga ik eens wat dieper in op de inner workings van
&lt;a href="https://www.rijkvanafdronk.be/apps/wdebelek"&gt;WDEBELEK&lt;/a&gt;, de webtoepassing
die ik schreef om online te kaarten (wiezen en gelijkaardige spelletjes).&lt;/p&gt;
&lt;p&gt;Want het is niet alleen erg fijn dat we in tijden van quarantaine en avondklok
nog kunnen kaarten, het is ook bijzonder cool dat de achterliggende software
gebruik maakt van 
&lt;a href="https://docs.microsoft.com/en-us/azure/architecture/patterns/event-sourcing"&gt;event sourcing&lt;/a&gt;;
dat is toch alleszins wat ik probeer.&lt;/p&gt;
&lt;p&gt;Mijn bedoeling is om jullie in al dit moois in te leiden aan de hand van de
&lt;a href="https://gitlab.com/rva-vzw/wdebelek/-/merge_requests/142"&gt;wijzigingen in de code&lt;/a&gt;
die nodig waren voor een nieuwe feature die ik onlangs inbouwde: het &lt;a href="https://gitlab.com/rva-vzw/wdebelek/-/issues/184"&gt;opnieuw 
open leggen van een slag&lt;/a&gt; 
die eigenlijk al opgeraapt was.&lt;/p&gt;
&lt;p&gt;&lt;img alt="playing cards" src="https://blog.johanv.org/galleries/cards/ikanemorenekerale.jpg"&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://blog.johanv.org/en/posts/event-sourced-wiezen/"&gt;Read more…&lt;/a&gt; (15 min remaining to read)&lt;/p&gt;&lt;/div&gt;</description><guid>https://blog.johanv.org/en/posts/event-sourced-wiezen/</guid><pubDate>Wed, 24 Feb 2021 18:26:00 GMT</pubDate></item><item><title>Quarantaine whist with WDEBELEK</title><link>https://blog.johanv.org/en/posts/wiezen-app/</link><dc:creator>Johan Vervloet</dc:creator><description>&lt;div&gt;&lt;p&gt;Now that the daily number of new COVID-19 infections is increasing,
and people are talking about the possibility of local lockdowns,
chances increase that card playing evenings will be canceled because
of corona reasons.&lt;/p&gt;
&lt;p&gt;But, as opposed to the previous lockdown, now there is an easy solution
to play solo whist remotely. Because I work on a web application for
online card playing: &lt;a href="https://www.rijkvanafdronk.be/apps/wdebelek"&gt;WDEBELEK&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;It is still a young application, with a lot of loose ends, but it has been
tested extensively, and it seemed to be useful. How does it work:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Find 3 to 5 friends that want to play cards with you.&lt;/li&gt;
&lt;li&gt;Start a video conference with these friends, using your favourite video
   conferencing tool.&lt;/li&gt;
&lt;li&gt;Create a card table at &lt;a href="https://kaart.rijkvanafdronk.be"&gt;kaart.rijkvanafdronk.be&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;Create invitation links, and pass them on to your friends.&lt;/li&gt;
&lt;li&gt;Play cards!&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;We do have a &lt;a href="https://www.rijkvanafdronk.be/apps/wdebelek"&gt;basic manual&lt;/a&gt;, but
that's in Dutch. (If anybody wants to translate it to English: let me know.)
Anyway, the use of the application should be straight forward.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://gitlab.com/rva-vzw/wdebelek"&gt;Source code&lt;/a&gt; is freely available under
the conditions of the AGPL v3 or later. And you can use the software for fee;
that is: as long as my server can handle the load.&lt;/p&gt;
&lt;p&gt;Enjoy!&lt;/p&gt;
&lt;p&gt;&lt;img alt="kaarten in quarantaine" src="https://blog.johanv.org/galleries/misc/quarantaine.jpg"&gt;&lt;/p&gt;&lt;/div&gt;</description><category>app</category><category>wiezen</category><guid>https://blog.johanv.org/en/posts/wiezen-app/</guid><pubDate>Wed, 15 Jul 2020 14:18:00 GMT</pubDate></item><item><title>Dikdikdik: a Wiezen (Solo Whist) score app</title><link>https://blog.johanv.org/en/posts/wiezen-score-app/</link><dc:creator>Johan Vervloet</dc:creator><description>&lt;div&gt;&lt;p&gt;For some time I've been working on a web application that
helps you keeping track of the score if you want to play
the Wiezen card game. Wiezen, as we play it, is called
&lt;a href="https://en.wikipedia.org/wiki/Solo_whist"&gt;solo whist&lt;/a&gt; on
Wikipedia.&lt;/p&gt;
&lt;p&gt;Yesterday this &lt;a href="https://www.rijkvanafdronk.be/app"&gt;score application&lt;/a&gt;
(in Dutch, sorry) reached version 1.0. So I thought it would
be appropriate to announce this release on my blog.&lt;/p&gt;
&lt;p&gt;Admittedly, the user interface leaves a lot to be desired. But 
it turned out a very cool application (imho), with a nice
event sourced backend, and gitlab pipelines that automatically
test new source code. 🤓&lt;/p&gt;
&lt;p&gt;The score app follows the
&lt;a href="https://www.rijkvanafdronk.be/spelregels"&gt;whist game rules&lt;/a&gt;
as set by
&lt;a href="https://www.rijkvanafdronk.be"&gt;Rijk van Afdronk vzw&lt;/a&gt;.
The application can be tested (as long as my vps doesn't die) at
&lt;a href="https://score.rijkvanafdronk.be"&gt;score.rijkvanafdronk.be&lt;/a&gt;; source
code can be found &lt;a href="https://gitlab.com/rva-vzw/dikdikdik"&gt;on gitlab&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;&lt;img alt="can only get this once!" src="https://blog.johanv.org/galleries/misc/ikanemorenekerale.jpg"&gt;&lt;/p&gt;&lt;/div&gt;</description><category>app</category><category>dikdikdik</category><category>eventsourcing</category><category>php</category><category>whist</category><category>wiezen</category><guid>https://blog.johanv.org/en/posts/wiezen-score-app/</guid><pubDate>Mon, 23 Mar 2020 16:03:00 GMT</pubDate></item></channel></rss>