from Hacker News

Klopodavka Game in Rust and WebAssembly

by autocorr on 2/3/23, 6:25 PM with 1 comments

  • by autocorr on 2/3/23, 6:25 PM

    This is an implementation of a neat pencil-and-paper game from the 1980's in Eastern Europe called Virus Wars or Klopodavka (bedbugs).

    In this variant of Klopodavka, players can add a bug or squish an opponent's along cells adjacent to a path of friendly cells connected to the player's base. Players get six actions per turn and a player loses when no more valid moves are available. Although the AI is limited, it's an interesting game of territory and thinking about how one's own bugs will be used against oneself.

    The code can be found at https://github.com/ptupitsyn/klopodavka-rs and was developed by Pavel Tupitsyn, who is also the maintainer of Apache Ignite according to his GitHub bio.