Game I made and then refined with my friends

To do list:
-make svg animation of a game, or maybe two or three who knows
-end this
-add .epub or .pdf or whatever for older browsers instead of gif and png
-y si quito los alts y los mando directamente a descargar el epub/pdf?

52-card deck

1c 2c 3c 4c 5c 6c 7c 8c 9c 10c 11c 12c 13c
1d 2d 3d 4d 5d 6d 7d 8d 9d 10d 11d 12d 13d
1h 2h 3h 4h 5h 6h 7h 8h 9h 10h 11h 12h 13h
1s 2s 3s 4s 5s s 7s 8s 9s 10s 11s 13s 13s
Black Joker Red Joker
All cards were made by Dmitry Fomin - Own work, CC0, Link, the english labels of the Jokers were traslated by Loren Osborn and separated from the image by me

How to play (not finished yet)

Sheep = 1-10 of any suit
Shepherd = A Jack, Queen or King of any suit
Fool/Wolf/Dog = The Jokers

A flock of sheep = One shepherd and one or more sheep
A small one = Less than five sheep (Or whatever number you want)
A big one = Five or more sheep (Or whatever number you want)

A marriage = Usually between a sheep and a shepherd, it can be between two sheep but never between two shepherds.

Heaven = Where marriages/pairs go
Cementary = Where aimless/dying flocks go
Two Jokers in heaven = Won game
One Joker in heaven and one Joker in the cemetery = If there are more pairs in heaven its a won game and if there are more graves it is a lost game
Two Jokers burried in the cemetery = Lost game

Example game

4c

4c5h

4c5hBlack Joker10h
They are now are returned to the soup/deck
13s
13s11s
13s11s11d
13s11s11d1h
13s11s11d1h12c
13s11s11d1h12c7d
13s11s11d
7d
1h12c
The sheep marrying a shepherd

13s11s1h12c Heaven
1 pair
11d7d

13s11s1h12c9c Heaven
1 pair

13s11s1h12c
9c
Heaven
1 pair

13s11s1h Heaven
2 pairs
12c9c

13s11s1h Heaven
2 pairs

13s11s1h11c Heaven
2 pairs

13s11s1h11cRed Joker Heaven
2 pairs

13s11s1h11cRed Joker8d Heaven
2 pairs

13s11s1h11cRed Joker8d5c Heaven
2 pairs

13s11s1h11c
Red Joker
5c
8d Heaven
2 pairs

13s11s1h8d Heaven
3 pairs
11cRed Joker5c

13s11s1h8d5s Heaven
3 pairs, Joker


13s11s
5s
1h8d Heaven
3 pairs, Joker


13s1h8d Heaven
4 pairs, Joker
11s5s

13s1h8d Heaven
4 pairs, Joker

13s1h8d6s Heaven
4 pairs, Joker

13s
6s
1h8d Heaven
4 pairs, Joker

1h8d Heaven
5 pairs, Joker
13s6s

Heaven
5 pairs, Joker
Cemetery
2 sheep
1h8d

To shorten this I'm going to draw a bunch of cards until something happens...
13c10d8h10s11h Heaven
5 pairs, Joker
Cemetery
2 sheep

13c10d8h10s11h2c Heaven
5 pairs, Joker
Cemetery
2 sheep

13c
2c
10d8h10s11h Heaven
5 pairs, Joker
Cemetery
2 sheep

10d8h10s11h Heaven
6 pairs, Joker
13c2c
Cemetery
2 sheep

11h Heaven
6 pairs, Joker
Cemetery
5 sheep
10d8h10s

I draw more cards...
11h6c4c2d1d4s Heaven
6 pairs, Joker
Cemetery
5 sheep

11h6c4c2d1d4s6h Heaven
6 pairs, Joker
Cemetery
5 sheep

NOW, here it comes an exception I made to balance a bit the game, if you get a sheep that threatens to leave your first/last flock aimless, you can marry that sheep with a Sheep of the SAME VALUE (regardless of the suit), and your flock will be safe, for a while...
11h6c
6h
4c2d1d4s Heaven
6 pairs, Joker
Cemetery
5 sheep

11h4c2d1d4s Heaven
7 pairs, Joker
6c6h
Cemetery
5 sheep

11h4c2d1d4s4h Heaven
7 pairs, Joker
Cemetery
5 sheep

If your flock is too small (I find less than 5 sheep a good number) you can't marry sheep (if you don't want to use this rule, don't, I mean, you can do whatever you want but I found this rule the less necessary of all of them to have a balanced game, if you don't use it you'll almost always have more pairs than dead sheep, in my experience)
11h
4h
4c2d1d4s Heaven
7 pairs, Joker
Cemetery
5 sheep

4c2d1d4s Heaven
8 pairs, Joker
11h4h
Cemetery
5 sheep

Heaven
8 pairs, Joker
Cemetery
9 sheep
4c2d
1d4s

Heaven
8 pairs, Joker
Cemetery
9 sheep

12s9d12d Heaven
8 pairs, Joker
Cemetery
9 sheep

12s9d.svg12d7s Heaven
8 pairs, Joker
Cemetery
9 sheep

12s
7s
9d.svg12d Heaven
8 pairs, Joker
Cemetery
9 sheep

From now on I will quicken things a little bit
12d Heaven
9 pairs, Joker
12s7s
Cemetery
10 sheep
9d.svg

12d3s8s7h12h13d Heaven
9 pairs, Joker
Cemetery
10 sheep

12d3s8s7h12h
2h
13d Heaven
9 pairs, Joker
Cemetery
10 sheep

12d3s8s7h13d
5d
Heaven
10 pairs, Joker
12h2h
Cemetery
10 sheep

As we approach the end of the deck, a lot of sheep start to appear, this is natural and happens a lot of times
12d3s8s7h10c7c3h1h1c9s9h9c Heaven
11 pairs, Joker
13d5d
Cemetery
10 sheep

Since I don't have any four-legged sheep in my flock the shepherdess must marry the sheep ...
12d
4d
3s8s7h10c7c3h1h1c9s9h9c Heaven
11 pairs, Joker
Cemetery
10 sheep

... and so the flock without the protection of the shepherdess is eaten by wolves and goes to the cemetery
3s8s7h10c7c3h1h1c9s9h9c Heaven
12 pairs, Joker
12d4d
Cemetery
10 sheep

Before the shepherd I got three sheep but I put them back at the back of the deck
13h Heaven
12 pairs, Joker
Cemetery
21 sheep
3s8s7h
10c7c3h
1h1c9s
9h9c

13h
10h
Heaven
12 pairs, Joker
Cemetery
21 sheep

These are the last cards, almost all games end with some sheep (and one or both Jokers sometimes) a no shepherd, unless you can't find a sheep of the same suit and thus you can't marry the shepherd and he dies with his sheep
Black Joker5h3c3d6d2s Heaven
13 pairs, Joker
13h10h
Cemetery
21 sheep

These are the last cards, almost all games end with some sheep (and one or both Jokers sometimes) a no shepherd, unless you can't find a sheep of the same suit and thus you can't marry the shepherd and he dies with his sheep
Heaven
13 pairs, Joker
Cemetery
26 sheep, Joker
Black Joker5h3c
3d6d2s

Heaven
Red Joker
11d7d 12c9c 11c5c
11s5s 13s6s 13c2c
6c6h 11h4h 12s7s
12h2h 13d5d 12d4d
13h10h
Cemetery
Black Joker
1h 8d 10d 8h 10s 4c
2d 1d 4s 9d 3s 8s
7h 10c 7c 3h 1h 1c
9s 9h 9c 5h 3c 3d
6d 2s
Sooo, this never happened to me hehe, I don't know how to resolve this, it seems that I have tied myself up...

(Improvished) If you end like this you can:

  1. Toss a coin
  2. Decide by yourself if you count this as a victory or not
If I had had more pairs in heaven than sheep in the cemetery I would have won, and if I had had less pairs in heaven than sheep in the cemetery I would have lost

Heaven
Red Joker
Cemetery
Black Joker

In this one below I lost because I had both Jokers burried in the cemetery

Heaven

Cemetery
Red JokerBlack Joker