Al-Driven Gameplay: overcoming open space video games with reinforcement learning

dc.contributor.advisorTFEVilladangos Alonso, Jesús
dc.contributor.affiliationEscuela Técnica Superior de Ingeniería Industrial, Informática y de Telecomunicaciónes_ES
dc.contributor.affiliationIndustria, Informatika eta Telekomunikazio Ingeniaritzako Goi Mailako Eskola Teknikoaeu
dc.contributor.authorLópez Goñi, Juan
dc.date.accessioned2025-02-18T16:13:39Z
dc.date.available2025-02-18T16:13:39Z
dc.date.issued2025
dc.date.updated2025-02-18T13:30:43Z
dc.description.abstractThis research explores training an AI agent in video games using continuous actions on a continuous space, an area that needs more exploration. Using Unity's ML-Agents package, an agent was trained with a PPO algorithm in a custom video game environment made from scratch, testing different artificial intelligence models programmed in Python. Hyperparameters, rewards, game difficulty and model choices and how they affected the agent's success were studied in different tests. Each of these tests started with a hypothesis that is contrasted with the results of a training session. The conclusions drawn from these results influenced the hypothesis of the subsequent test. Through testing across six versions of increasing complexity, our agent learned to perform better than human players, reaching average rewards of 80 in the final version. Tests with eight players showed that while humans learned game mechanics faster, the trained agent achieved more consistent results.The work shows that accessible AI tools can successfully train agents that match or exceed human performance in complex game environments. The results highlight how model-free algorithms can work effectively in continuous action spaces, offering insights for future game development.en
dc.description.degreeGraduado o Graduada en Ingeniería Informática por la Universidad Pública de Navarra (Programa Internacional)es_ES
dc.description.degreeInformatika Ingeniaritzan Graduatua Nafarroako Unibertsitate Publikoan (Nazioarteko Programa)eu
dc.format.mimetypeapplication/pdfen
dc.identifier.urihttps://academica-e.unavarra.es/handle/2454/53460
dc.language.isoeng
dc.rights.accessRightsinfo:eu-repo/semantics/openAccess
dc.subjectTraining an AI agent in video gamesen
dc.subjectML-Agentsen
dc.subjectPPO algorithmen
dc.subjectPythonen
dc.subjectAl-Driven Gameplayen
dc.titleAl-Driven Gameplay: overcoming open space video games with reinforcement learningen
dc.typeinfo:eu-repo/semantics/bachelorThesis
dspace.entity.typePublication
relation.isAdvisorTFEOfPublicationbbc8cfd2-e8ad-4eec-bf0e-ad22acb246ac
relation.isAdvisorTFEOfPublication.latestForDiscoverybbc8cfd2-e8ad-4eec-bf0e-ad22acb246ac

Files

Original bundle
Now showing 1 - 1 of 1
Loading...
Thumbnail Image
Name:
MemoriaTFG_lopez138495.pdf
Size:
4.38 MB
Format:
Adobe Portable Document Format
License bundle
Now showing 1 - 1 of 1
No Thumbnail Available
Name:
license.txt
Size:
1.71 KB
Format:
Item-specific license agreed to upon submission
Description: