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

Add a pretty-printer to game state #199

Open
liujimj opened this issue Oct 7, 2015 · 5 comments
Open

Add a pretty-printer to game state #199

liujimj opened this issue Oct 7, 2015 · 5 comments

Comments

@liujimj
Copy link
Contributor

liujimj commented Oct 7, 2015

@jleclanche My first instinct is to do this using curses (a la https://github.com/danielyule/hearthbreaker/blob/master/text_runner.py, example output here). Are you comfortable adding curses as a requirement?

@liujimj liujimj closed this as completed Oct 7, 2015
@liujimj liujimj reopened this Oct 7, 2015
@jleclanche
Copy link
Owner

If you build a curses client then it'd have to be a full-blown client, that lets you select and play cards. It's something I've wanted to do so I'm comfortable with it yes, as long as the dependency remains contained :)

@jleclanche
Copy link
Owner

You can take a look at kettle.py if you want some inspiration. Kettle is a network client. In fact, you could build a standalone client that doesn't use fireplace at all, and just depends on Kettle. But a builtin client is also probably useful...

@jleclanche
Copy link
Owner

BTW you should join the #hearthsim IRC channel if you'd like to talk about all this, it's a lot simpler.

@liujimj
Copy link
Contributor Author

liujimj commented Oct 14, 2015

Also http://urwid.org/index.html looks a lot better than using raw curses, any thoughts about that?

@jleclanche
Copy link
Owner

I have added functionality to export the game state to xml, which should help.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants