library inspired by the game infra