Page 1 of 1

Tutorial: how to use traditional Hanafuda card images in Koi-Koi

Posted: 05 November 2019, 11:48
by flicky1984
It's possible to use your own custom graphics with Koi-Koi (or any game on BGA) without requiring the site to change or add features.

One Click Activation (no longer possible) Alternative methods (pick one only if you don't want to use the above!) Image Credit
I have repurposed graphics from gamedesign.jp — so many thanks and credit to them for their beautiful card images!

The CSS
https://gist.github.com/gingerbeardman/ ... fe01c4aebc
- smaller, more traditional card designs
- simplify screen layout
- style table, deck, cards
- disable sorting, reordering, animation

The JavaScript (optional)
https://gist.github.com/gingerbeardman/ ... 49b4aeb61d
- discard by clicking on table
- capture first available card by clicking on table
- press control key to click table
- highlight matching cards

Hanafuda Discussion
Feel free to join the Hanafuda Discord Server https://discord.io/hanafuda

Any questions please ask.

Enjoy!
matt

Screenshot
Here's what a game of Koi-Koi looks like for me:
Image

User CSS Extensions
Do this either natively or using an extension, no need to do it both ways!

Re: Tutorial: how to use traditional Hanafuda card images in Koi-Koi

Posted: 11 November 2019, 00:34
by flicky1984
Latest CSS has option for even more old-traditional card images, as well as the modern-traditional card images you see above.

Re: Tutorial: how to use traditional Hanafuda card images in Koi-Koi

Posted: 07 January 2020, 16:36
by Shobu
Looks pretty great! Love those old card
However i can't make it working right from my side, and have no idea what i am doing wrong.

Are you only supposed to make these 2 simple steps?
1/click: https://boardgamearena.com/?use_custom_style=85048132
2/ and then, directly play koikoigame

I am running it on Chrome btw.
(i also tried the Advanced Medium CSS option, but with no better results)

On another subject, i am kinda new here, is there a way to display the yaku on a side panel? (I have to scroll the window each turn all the cards)

Re: Tutorial: how to use traditional Hanafuda card images in Koi-Koi

Posted: 23 April 2020, 19:33
by flicky1984
Hi, sorry for the slow response.

Yes, it should be as easy you've said. I just tried it now on my Mac Desktop and it works as intended.

Maybe try force refreshing the page (usually shift click the reload button) or clearing your browser cache?

Re: Tutorial: how to use traditional Hanafuda card images in Koi-Koi

Posted: 07 January 2021, 15:31
by flicky1984
@Shobu BGA have disabled Easy method, so now the only methods are Normal & Expert.

Re: Tutorial: how to use traditional Hanafuda card images in Koi-Koi

Posted: 18 January 2021, 00:36
by LightKnight
Wow, lots of thanks!
I'm a bit afraid to try that as I'd be very disoriented, but I think I will some day.