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

Adds a zombies game to a client/games folder #51

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

r-barnes
Copy link

No description provided.

Copy link
Owner

@hzeller hzeller left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Very cool!
I have mostly two questions that I think can improve things though I'd be fine with it as-is.

else:
return val

class Flaschen(object):
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would it be possible to use the library directly instead of creating a second copy which would need to be maintained ?

self.screen = Flaschen(host='ft.noise', port=1337, width=WIDTH, height=HEIGHT, layer=5, transparent=False)
self.npcs = []
self.heros = [Hero()]
self.main = Tk()
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there an advantage to use a graphical window to receive key-presses vs. just simply from the terminal directly ?
It took me a while to realize that there was a tiny window popping up that I have to navigate the cursor in to even receive keypresses. It would be more natural to just have this as input on the terminal you invoke it.
(besides easier matching expectations, it is less dependencies, easier to play remotely etc.).

WDYT ?

@hzeller
Copy link
Owner

hzeller commented Nov 6, 2019

Any Update ?

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