What is the best play strategy for a game called "21"?

I recommend looking at the game "Nim" like Sean Xie suggested. https://www.archimedes-lab.org/How_to_Solve/Win_at_Nim.html or https://boardgamestrategy.blog/2017/02/13/counting-to-21-strategy/

As the number of players increase, however, there less of a strategy (except in extreme cases) because the other players can cooperate against you; they have a wider range of options, collectively, than you do, so you can't use the sort of strategy that you can use in the two-player version.