9
Computer-Aided Software Development Based on State Machines for RPG Maroš Polák Slovak University of Technology in Bratislava Faculty of Materials Science and Technology in Trnava Institute of Applied Informatics, Automation and Mechatronics Thesis supervisor: doc. Ing. Peter Schreiber, CSc. Consultant: Ing. Michal Sroka 19. Marec 2015

Computer-Aided Software Development Based on State Machines for RPG Maroš Polák Slovak University of Technology in Bratislava Faculty of Materials Science

Embed Size (px)

Citation preview

Page 1: Computer-Aided Software Development Based on State Machines for RPG Maroš Polák Slovak University of Technology in Bratislava Faculty of Materials Science

Computer-Aided Software Development Based on State Machines

for RPG

Maroš Polák

Slovak University of Technology in Bratislava

Faculty of Materials Science and Technology in Trnava

Institute of Applied Informatics, Automation and Mechatronics

Thesis supervisor: doc. Ing. Peter Schreiber, CSc.Consultant: Ing. Michal Sroka

19. Marec 2015

Page 2: Computer-Aided Software Development Based on State Machines for RPG Maroš Polák Slovak University of Technology in Bratislava Faculty of Materials Science

Formulation of the problem

2 / 9

development of role-playing game

problem with objects of locations

structure of finite-state machine

source code generator

Page 3: Computer-Aided Software Development Based on State Machines for RPG Maroš Polák Slovak University of Technology in Bratislava Faculty of Materials Science

Objectives

Design structure of software application which implement finite-state machine.

Implement role-playing game application with design structure of the state machine.

Design and implement simple source code generator based on design structure finite-state machine in role-playing game application.

3 / 9

Page 4: Computer-Aided Software Development Based on State Machines for RPG Maroš Polák Slovak University of Technology in Bratislava Faculty of Materials Science

Methodology and Development

development environment Microsoft Visual Studio 2013

programming language C#

scripting language Lua

object-oriented approach

windows forms applications

4 / 9

Page 5: Computer-Aided Software Development Based on State Machines for RPG Maroš Polák Slovak University of Technology in Bratislava Faculty of Materials Science

Methodology and Development

structure of finite-state machine designing objects of locations

controlling objects of locations

source code generator import of configuration files

generation of source code

export of source files

5 / 9

Page 6: Computer-Aided Software Development Based on State Machines for RPG Maroš Polák Slovak University of Technology in Bratislava Faculty of Materials Science

Methodology and Development

6 / 9

Structure of the finite-state machine

Page 7: Computer-Aided Software Development Based on State Machines for RPG Maroš Polák Slovak University of Technology in Bratislava Faculty of Materials Science

Evaluation

use of structure of finite-state machine functional running of application

effective design of object

use of source code generator effective implementation

simpler implementation

 improve clarity of the source code

Continue to development of role-playing game

7 / 9

Page 8: Computer-Aided Software Development Based on State Machines for RPG Maroš Polák Slovak University of Technology in Bratislava Faculty of Materials Science

Evaluation

8 / 9

Graphical user interface of game

Page 9: Computer-Aided Software Development Based on State Machines for RPG Maroš Polák Slovak University of Technology in Bratislava Faculty of Materials Science

Computer-Aided Software Development Based on State Machines

for RPG

Maroš Polák

Slovak University of Technology in Bratislava

Faculty of Materials Science and Technology in Trnava

Institute of Applied Informatics, Automation and Mechatronics

Thesis supervisor: doc. Ing. Peter Schreiber, CSc.Consultant: Ing. Michal Sroka

19. Marec 2015