The rules of these (and other) chess variants are explained on
Lichess. You can play each variant at four Elo strength levels: 1000, 1500, 2000 or 2850.
To play these variants you need to checkout the code mentioned above, plus three more things:
1. the Fairy-Stockfish 14 engine
2. an updated engines.ini
I have inserted these lines in engines.ini:
[fairy]
name = Fairy-Stockfish 14
web = Fairy-Stockfish 14
small = Fairy
medium = Fairy
large = Fairy
elo = 2900
ccrl = 2900
levels = 20
cores = 1
ponder/brain = y
fischer chess960 support = y
comments: For chess variants like 3chess
3. the level file for the engine
My fairy.uci looks like this: