Role playing game using Finite state machine and JavaFX.