RPS style of combat? Is it possible?

Hi all, first off I'm very new to RPG Maker.

I was curious how would I go about making what I see a simple combat system in the style of RPS but with 9 gestures instead of 3? I'll start off with 5 maybe just for it too be easier on myself but I like to see how I go about with doing this all within combat?

I was thinking of using elements and let's say this is how the table would work

1 Beats 2,3,4,5
2 Beats 3,4,5,6
3 Beats 4,5,6,7
4 Beats 5,6,7,8
5 Beats 6,7,8,9
6 Beats 7,8,9,1
7 Beats 8,9,1,2
8 Beats 9,1,2,3
9 Beats 1,2,3,4

What I have found to be the issue is how would I go about making them both like "take a turn" then waiting for the results? Or first turn pick, 2nd turn dmg? Using buffs and status effects?

So a example like, I pick 1, enemy gets inflicted with status effect that if he picks 2,3,4,5 he takes dmg, 1 no dmg and 6,7,8,9 he attacks? But I'm curious how I would make him attack or do dmg to me? Maybe like thorn or instead it just inflicts to me?

But another example which is more preferred is, both take turns then next turn is the result, repeat.
Mainly would love to see it this way as later on I like to have custom named attacks (1-9) and other silly stuff to make it more interesting and less beyond.

Hope this isn't too much to ask I'm the engine, don't think it's impossible but at the same time I don't think its a easy task as I look more into it .

Thanks in advance for any help.
It depends on how you want it to function and display.

You could do it fairly easily using states and troop events. Give all of your skills no damage or anything else, but apply a state to the user. You could do this in the damage formula, but it would be better to use a notetag from Yanfly's Skill Core.

Then have a troop event that runs at the end of every turn and compares the chosen states.

So you'd see something like:
- Player chooses Rock skill.
- Enemy takes their turn: "Enemy chooses Paper"
- Player's turn is displayed: "Harold chooses Rock"
- End of turn troop event has conditionals for every state possible on the actor
-- If Harold has Rock
--- If Enemy has Rock
--- If Enemy has Scissors
--- If Enemy has Paper
---- Display a message that the enemy wins the turn and do damage to Harold

Original thread: https://forums.rpgmakerweb.com/threads/rps-style-of-combat-is-it-possible.161100/