Procedural Content Generation for Computer Games
Labs 2 - Mario
Vojtěch Černý
cerny@gamedev.cuni.cz
Prerequisites
About Mario
Mario as a framework
Mario as a framework
Technical info
The challenges
The Homework
Create a level generator for Mario with some level of indirectness!
Possible options (non-exhaustive list):
The Repository
Start with the mario-levels repo, which contains a Gradle buildsystem to run Mario
Using IntelliJ IDEA as IDE is highly recommended
Two main files:
Making it work
The Task
Part 1 - Create a generator Class
The Task
Part 2 – Create an evaluation metric of Mario levels
Copy one of
and modify it to make your own!
Criteria: Make something you would be happy to write about!
The Task
Part 3 – Plot your generator performance with your metric
To plot graphs, all that should be needed is to:
./gradlew generateCSV
Plot graphs of linearity vs. your metric on your, notch and benWeber generators (see slide 18)
Discuss your results
Criteria
Points
Level generator – 2 points (indirect representation, good difficulty)
Metric and graphs to evaluate – 1 points
1 bonus point – create a level which you can win, but Robin Baumgarten agent does not
bonus points are added to exam points, but do not count towards the 13 points required for lab credit
Acceptable solution:
made from building blocks
Mine
Notch
Ben Weber
Acceptable solution:
made from building blocks
Another option – Your experiment!
Submission details
Questions / Problems
Allocate more than one session to work on the project. If you get stuck on some issue, it’s good to clear your head for a bit and return to it later.