Social Modeling via Logic Programming in City of Gangsters


  • Robert Zubek SomaSim
  • Ian Horswill Northwestern University
  • Ethan Robison Naughty Dog
  • Matthew Viglione SomaSim



Game Design, Strategy Game, Knowledge Representation, Social Modeling, Logic Programming


City of Gangsters is a commercial strategy game with significant social modeling mechanics: it is a tycoon management game, where the player needs to work their social connections with a network of roughly 1200 NPCs to get things done, and NPC opinions about the player modulate the player's ability to succeed. We found logic programming to be well suited to our knowledge representation problem, including the need to perform inferences over a relationship network with more than a thousand active characters, and to provide the player with meaningful feedback about the consequences of their actions in the social space. In this paper we present the technical details of this social modeling problem, the details of our logic programming implementation, and how this interacts with the game's design and its social and material economies.




How to Cite

Zubek, R., Horswill, I., Robison, E., & Viglione, M. (2021). Social Modeling via Logic Programming in City of Gangsters. Proceedings of the AAAI Conference on Artificial Intelligence and Interactive Digital Entertainment, 17(1), 220-226.