Just for fun, I've asked #claude to generate a #webxdc mini app for playing the UNO cart game in a @Delta Chat conversations. It can be played with keyboard or mouse or touch screen and includes screen reader #accessibility. It has machine translations of its prompts to various languages.

Since it's not my original work I am not particularly keen about uploading it to code hosting services.

But still if you would be interested to take a look at it, here is the resulting file: s.ondrosik.sk/d/b99143b31a6446…

in reply to Peter Vágner

@Peter Vágner
this is sick! I've been contemplating exactly this for a while, but I was thinking about how to prevent cheating by using a commutative encryption system

BUT you should know the colors are really bad. I'm colorblind and I can't tell what color the cards in my own hand are. the colors ought to be brightened significantly

in reply to تُرک‌ترین زمزمەگر

@Peter Vágner
But hey, cryptography could be used one day to leverage anti-cheating if everything's got more competitive. Because probably with the way that it currently works, everyone's client technically has access to the contents of everyone else's hand, and the contents of the drawpile. It's just that the app does not display other people's hands nor the drawpile. The app knows the information, it just doesn't display it to the user.

That means that if someone really wanted to, they could inject some code into the app to get it to show that information so that they could cheat.

The idea then is to use a commutative encryption algorithm so that only the situation-appropriate cards are known, and only known to the people to whom knowledge of them is appropriate, and only fully decrypted once the appropriate time comes, and this would be cryptographically ensured by all the other players.

Like all that crap could be cryptographically shuffled commutatively by each player so that nobody CAN know what's the next card EXCEPT the user who's actually drawing it.