# A Novel CNet-assisted Evolutionary Level Repairer and Its Applications to Super Mario Bros

arXiv: https://arxiv.org/abs/2005.06148 · HTML: https://mlsanity.com/paper/2005.06148/

## Key facts

- Cited by 4 papers in the map (data through 14 Oct 2026).
- First posted on arXiv 13 May 2020.

## Built on by (most cited first, 4 of 4)

- [Experience-Driven PCG via Reinforcement Learning: A Super Mario Bros Study](https://mlsanity.com/paper/2106.15877/) (2021)
- [Online Game Level Generation from Music](https://mlsanity.com/paper/2207.05271/) (2022)
- [Guided Game Level Repair via Explainable AI](https://mlsanity.com/paper/2410.23101/) (2024)
- [From Unstable to Playable: Stabilizing Angry Birds Levels via Object Segmentation](https://mlsanity.com/paper/2509.23787/) (2025)

## Abstract (arXiv)

Applying latent variable evolution to game level design has become more and more popular as little human expert knowledge is required. However, defective levels with illegal patterns may be generated due to the violation of constraints for level design. A traditional way of repairing the defective levels is programming specific rule-based repairers to patch the flaw. However, programming these constraints is sometimes complex and not straightforward. An autonomous level repairer which is capable of learning the constraints is needed. In this paper, we propose a novel approach, CNet, to learn the probability distribution of tiles giving its surrounding tiles on a set of real levels, and then detect the illegal tiles in generated new levels. Then, an evolutionary repairer is designed to search for optimal replacement schemes equipped with a novel search space being constructed with the help of CNet and a novel heuristic function. The proposed approaches are proved to be effective in our case study of repairing GAN-generated and artificially destroyed levels of Super Mario Bros. game. Our CNet-assisted evolutionary repairer can also be easily applied to other games of which the levels can be represented by a matrix of objects or tiles.
