# Generowanie poziomów uczone na przykładach

EN: **Procedural content generation via machine learning (PCGML)** · id `pcgml` · aliases: PCGML, PCG via machine learning, learned level generation, generowanie poziomów przez uczenie maszynowe

Path: [AI Atlas](https://aiatlasgraph.com/llms.txt) › [AI w grach](https://aiatlasgraph.com/t/gameai.md) › [Proceduralne generowanie treści gier](https://aiatlasgraph.com/t/pcg.md) › Generowanie poziomów uczone na przykładach

## Description

- PL: Generowanie treści gier modelami uczonymi na istniejących treściach, m.in. łańcuchami Markowa, sieciami rekurencyjnymi, autoenkoderami i sieciami generatywnymi.
- EN: Generating game content with models trained on existing content, including Markov chains, recurrent networks, autoencoders and generative networks.

## In one sentence

- PL: Model ogląda istniejące poziomy gry i uczy się tworzyć nowe w podobnym stylu, bez ręcznie pisanych reguł.
- EN: A model studies existing game levels and learns to make new ones in a similar style, without hand-written rules.

## Problem it solves

- PL: Spisanie wszystkich zasad dobrego poziomu jest prawie niemożliwe, a projektant chce nowych map, które wyglądają jak jego własne.
- EN: Writing down every rule of a good level is nearly impossible, and designers want new maps that feel like their own.

## What it does

- PL: Jak uczeń malarza, który po obejrzeniu setek obrazów mistrza maluje nowe płótna w jego manierze.
- EN: Like a painter's apprentice who, after studying hundreds of the master's canvases, paints new ones in the same manner.

## Everyday example

- PL: Fani klasycznej platformówki dostają nieskończony zestaw nowych plansz, które wyglądają i grają się jak oryginalne.
- EN: Fans of a classic platformer get an endless supply of new stages that look and play like the originals.

## This concerns you if you…

- PL: masz kilka ręcznie zrobionych poziomów i chcesz więcej
- PL: chcesz, żeby generator trzymał twój styl
- EN: have a few hand-made levels and want more
- EN: want a generator that keeps your style

## Keywords

PCGML · Video Game Level Corpus · MarioGAN · LSTM level generation · Markov chains

## How it works

- PL: Poziomy zamienia się na reprezentację, np. siatkę kafelków lub ciąg znaków, a model uczy się rozkładu tych danych. Następnie generuje nowe układy podobne do przykładów; wynik trzeba sprawdzić pod kątem grywalności i zgodności z regułami gry.
- EN: Levels are turned into a representation such as a tile grid or character string, and a model learns the distribution of those data. It then generates new layouts resembling the examples; the output must be checked for playability and compliance with the game's rules.

## Limits

- PL: Gier z wieloma poziomami do nauki jest mało, a model uczy się wyglądu, nie zawsze grywalności. Bez sprawdzenia agentem część poziomów jest nie do przejścia. Uczenie na cudzych poziomach rodzi pytania o prawa autorskie.
- EN: Few games have many levels to learn from, and models learn appearance, not always playability. Without an agent check some levels cannot be finished. Training on others' levels raises copyright questions.

## Key terms

- PL: **reprezentacja poziomu**: Zapis planszy w formie, którą model potrafi czytać i tworzyć.
- EN: **level representation**: Encoding a stage in a form a model can read and produce.

## Know first

- [Rodziny modeli generatywnych (Generative model families)](https://aiatlasgraph.com/t/generative.md)
- [Uczenie nadzorowane (Supervised learning)](https://aiatlasgraph.com/t/supervised.md)

## Sources

- [Procedural Content Generation via Machine Learning (PCGML)](<https://arxiv.org/abs/1702.00539>) `summerville-pcgml-2018` · by Adam Summerville, Sam Snodgrass, Matthew Guzdial, Christoffer Holmgård, Amy K. Hoover, Aaron Isaksen, Andy Nealen, Julian Togelius

---

AI Atlas revision 122 (2026-10-30) · HTML: https://aiatlasgraph.com/t/pcgml · index: https://aiatlasgraph.com/llms.txt · everything: https://aiatlasgraph.com/llms-full.txt · updated 2026-10-30
