-
Notifications
You must be signed in to change notification settings - Fork 49
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
base: master
Are you sure you want to change the base?
Conversation
Reordered directories a bit.
There was a problem hiding this 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): |
There was a problem hiding this comment.
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() |
There was a problem hiding this comment.
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 ?
Any Update ? |
No description provided.