Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Solution for gophercises/cyoa #2

Merged
merged 2 commits into from
Jul 22, 2019
Merged

Conversation

barisere
Copy link
Contributor

@barisere barisere commented Mar 4, 2018

I initially tried to use the same abstraction for navigating the story in both the CLI version and the HTTP version (hence the similarly named functions). It did not work, because the HTTP version responds to user requests that can come in any order, while CLI interaction is more controlled. The code is quite unorganized too.
This exercise was fun, especially figuring out a data type that reflects the JSON structure.
And whoa, it's a single page application. 😄

@joncalhoun joncalhoun merged commit 070143b into gophercises:master Jul 22, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants