473,385 Members | 1,384 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

how to make a LAN game using python?

I want make a desktop game suports LAN connect, but pygame has nothing
about network.How to let pygame suport LAN connect? have you some
examples or articles about LAN connect?
Jul 19 '05 #1
2 4124
flyaflya wrote:
I want make a desktop game suports LAN connect, but pygame has nothing
about network.How to let pygame suport LAN connect? have you some
examples or articles about LAN connect?


Pygame wouldn't bother supporting that, since it's already fully
supported by standard Python, and any number of add-on frameworks.

Your options include, but aren't limited to:

- the "socket" module in Python's standard library
- "asyncore" and friends in the standard library
- Twisted (this might be beyond your level, but it was *designed* for
doing online games so it can certainly handle whatever you want to throw
at it... think of it as something you can grow into)
- Pyro (this might be the easiest for you to get working, if you already
know Python and are using it for all software involved)

Many books and web sites on Python will cover networking issues as well.
The Python in a Nutshell book certainly talks about it, and I suspect
the Cookbook has some useful recipes as well.

Finally, search terms to help you use Google, which could certainly have
told you much of this if you'd tried, include "sockets", "RPC",
"distributed systems", "networking", and of course "Python" in
combination with any of them...

-Peter
Jul 19 '05 #2

"flyaflya" <fl******@gmail.com> wrote in message
news:d5**********@news.yaako.com...
I want make a desktop game suports LAN connect, but pygame has nothing
about network.How to let pygame suport LAN connect? have you some
examples or articles about LAN connect?


The discussions on the pygame mailing list (gatewayed to
gmane.comp.python.games) include networking with pygame issues. There were
recent threads about pygame and twisted. See if you can explore the
archives a bit.

Terry J. Reedy

Jul 19 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: O'Neal Computer Programmer | last post by:
I was reading here: http://groups.google.com/groups?q=elemental+group:comp.lang.python.*&hl=en&lr=&ie=UTF-8&group=comp.lang.python.*&selm=mailman.1044572235.32593.python-list%40python.org&rnum=3...
1
by: BlackHawke | last post by:
Hello! My name is Nick Soutter, I am the owner of a small game company in San Diego, CA called Aepox Games (www.aepoxgames.net). Our first product, Andromeda Online...
4
by: The_Incubator | last post by:
As the subject suggests, I am interested in using Python as a scripting language for a game that is primarily implemented in C++, and I am also interested in using generators in those scripts... ...
4
by: Moosebumps | last post by:
When I have time, I am planning to evaluate Python for console game development (on Playstation 2, GameCube, and Xbox). Does anyone have any experience with this? Pretty much the only resource...
17
by: stubbsie | last post by:
Hi, I have redesigned our official public government website in .net and it has taken me a few months to redo. I have been the sole designer of the website from its humble beginnning a few years...
1
by: Jerry Fleming | last post by:
Hi, I have wrote a game with python curses. The problem is that I want to confirm before quitting, while my implementation doesn't seem to work. Anyone can help me? #!/usr/bin/python # #...
0
by: Jeff Rush | last post by:
At PyCon this year we're going to have a multi-day game programming clinic and challenge. This is a first-time event and an experiment to find those in the Python community who enjoy playing and...
4
by: PatrickMinnesota | last post by:
I like to do fun stuff when learning a new language. I've been working with Python for a little while on real world problems mostly fixing bugs and writing a simulator for work. I was thinking...
1
by: Carl Banks | last post by:
On Apr 11, 12:08 pm, "Neil Cerutti" <mr.ceru...@gmail.comwrote: That depends. No, it's prudence. If I am writing a banal, been-done-a-million-times before, cookie- cutter text adventure,...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.