The Rock even makes reference to the video game nature of this encounter in a follow-up post.
As such, seeing The Rock fighting off waves of enemies makes perfect sense.
While details are vague, it has been confirmed that this version of Jumanji will not be based on a board game, which was the focus of the Robin Williams version, but instead will focus on a video game version of the game title.
While video games have certainly come a long way over the decades, the vast majority of titles still ultimately focus on violence as their primary form of conflict.