Created
October 20, 2018 20:16
-
-
Save embs/d120191b48c6e5f5a50a09b2c94ab753 to your computer and use it in GitHub Desktop.
Revisions
-
Matheus Santana created this gist
Oct 20, 2018 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,16 @@ start = Step.create(name: 'Saudações, aventureiro!', description: 'Cuidado por onde anda. Esta terra está repleta de abismos e feras perigosas.') precipice = Step.create(name: 'Você caiu num precipício :(', description: 'Mais sorte na próxima vez...') dragon = Step.create(name: 'Um dragão te tostou :(', description: 'Nem todo dia é dia de caçador.') Action.create(name: 'Ir para a direita', source_step: start, destiny_step: precipice) Action.create(name: 'Ir para a esquerda', source_step: start, destiny_step: dragon)