Live data from Hacker News

Show HN: A simple multiplayer game with Python and Socket.io

stuff.pyramidlabs.in

1–10 of 20 posts

Re: Show HN: A simple multiplayer game with Python and Socket.io

#4
Some issues:

1. You should add code to keep diamonds from spawning in rocks. It'd be simple to implement: Check if the diamond spawn location is rock, and if it is, don't spawn it.

2. Don't use a dialog for user name entry; use a form or something instead. In my browser (Chromium on Linux Mint), the dialog locks the entire browser window until I type in a name, even if I don't want to play -- maybe I just want to click on About to see more about you.

3. Is this open-source? It's probably way too simple to be commercially viable, but it'd be instructive for learning socket.io to look at the source; you should put it on Github or something.

4. Just checked the site again; it's down. The front page of HN will do that. Maybe you could throw some screenshots up on a static http server or Amazon S3 if you the ingredients handy, so people have something to look at.

Re: Show HN: A simple multiplayer game with Python and Socket.io

#7
post #6

Is this running on Flask? Could be why it went down. I'm interested to see if the source code is available- I'm currently working on a python game for school and wanted to checkout the multiplayer code.

> Is this running on Flask? Could be why it went down.

Are you just saying you don't like Flask, or is there some sort of specific problem you're referencing?

Re: Show HN: A simple multiplayer game with Python and Socket.io

#8
post #7
post #6

Is this running on Flask? Could be why it went down. I'm interested to see if the source code is available- I'm currently working on a python game for school and wanted to checkout the multiplayer code.

> Is this running on Flask? Could be why it went down. Are you just saying you don't like Flask, or is there some sort of specific problem you're referencing?

I'm a fan of Flask- I was just curious if it was a Django or Flask app running as a process and not setup with nginx/apache + wsgi. The port 8080 is what made me ask.
Post reply on HN