WanToFight: Real-Time Generative Game Engine for Multi-Player Combat Interaction

Li Hu, Guangyuan Wang, Peng Zhang, Bang Zhang
7/14/2026
cs.CV

No confident code implementation found for this paper.

Abstract

We present WanToFight, a generative game engine that simulates real-time, two-player The King of Fighters '97 (KOF~'97) gameplay from keyboard input. Prior generative game engines target either single-player first-person settings or non-real-time cooperative scenarios; multi-player control, real-time inference, complex physical interaction, and adversarial gameplay have not been jointly addressed. WanToFight closes this gap with three components built on the Wan-1.3B video diffusion transformer: a streaming autoregressive generator with block-causal attention and a rolling KV cache; a visually grounded Player Association module that binds each player's keyboard signal to a character identity; and a gated, locally causal keyboard injection module trained with a single-player-to-full-gameplay curriculum. A four-step DMD-distilled student paired with a pruned VAE decoder sustains 30FPS at 512x384 on a single NVIDIA RTX 5090 over the duration of a complete match. To our knowledge, WanToFight is the first generative game engine to combine multi-player control, real-time inference, complex physical interaction, and adversarial gameplay in one system.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{hu2026wantofight,
  title  = {WanToFight: Real-Time Generative Game Engine for Multi-Player Combat Interaction},
  author = {Li Hu and Guangyuan Wang and Peng Zhang and Bang Zhang},
  year   = {2026},
  eprint = {2607.12592},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2607.12592v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2607.12592.svg)](https://codeofpaper.com/paper/2607.12592)

Discussion