Astrogue: A Roguelike Using Procedural Content Generation for Levels and Plots in a Computer Game

dc.contributor.authorAlmgren, Simon
dc.contributor.authorAnttila, Leo
dc.contributor.authorSörensson, Fabian
dc.contributor.authorTiensuu, Samuel
dc.contributor.authorOskarsson, David
dc.contributor.departmentChalmers tekniska högskola / Institutionen för data- och informationsteknik (Chalmers)sv
dc.contributor.departmentChalmers University of Technology / Department of Computer Science and Engineering (Chalmers)en
dc.date.accessioned2019-07-03T13:31:02Z
dc.date.available2019-07-03T13:31:02Z
dc.date.issued2014
dc.description.abstractThe aim of this thesis is to explain the process of creating a computer game in the roguelike genre, where procedural content generation is key. The case study game discussed here is called Astrogue, a simple tile-based 2D game with procedurally generated levels and plots. Astrogue is written in Java and uses the library Lightweight Java Game Library for graphics and input. Even when creating a simple 2D game, there is a need for good code architecture. For this, we have chosen to use a design pattern called entity-componentsystem, a pattern that favours composition over inheritance. Besides smart code architecture, other interesting programming problems had to be solved. Systems for controlling game logic have been implemented, including for example an algorithm for shadowcasting and a simple enemy AI. For both level and plot generation, different algorithms and approaches were studied and evaluated, but only some were used. Two different level generating algorithms have been implemented. One creates classical roguelike dungeons, with multiple rooms connected using Delaunay triangulation and Kruskal’s algorithm. The other one creates cavelike levels using cellular automata. An algorithm for generating names from lists of old ones, using Markov chains, is part of the game. Finally, the game generates a plot by creating characters and letting them interact in an AI simulation.
dc.identifier.urihttps://hdl.handle.net/20.500.12380/203195
dc.language.isoeng
dc.setspec.uppsokTechnology
dc.subjectData- och informationsvetenskap
dc.subjectComputer and Information Science
dc.titleAstrogue: A Roguelike Using Procedural Content Generation for Levels and Plots in a Computer Game
dc.type.degreeExamensarbete för kandidatexamensv
dc.type.degreeBachelor Thesisen
dc.type.uppsokM2
local.programmeDatateknik 300 hp (civilingenjör)
Ladda ner
Original bundle
Visar 1 - 1 av 1
Hämtar...
Bild (thumbnail)
Namn:
203195.pdf
Storlek:
4.67 MB
Format:
Adobe Portable Document Format
Beskrivning:
Fulltext