.:`=-~rANdOm~`-=:. Game Servers
Technology (Read Only) => Programming => Topic started by: Goat on September 26, 2011, 06:51:35 PM
-
in computer programming II we started using python
i fucking lol'd since i heard it was some sort of programing god language like assembly
first project is to make a game
im making a game were you buy/sell/breed hoerses
ive got 3 basic classes so far and im just wondering if anyone on you forums have a suggestion on were for me to go
this is a basic horse (LOL)
class BaseAlien(object)
def __init__(self, genus, species)
self.genus = genus \\ type of alien
self.species = species \\ the species of the hoers
self.age = 0 \\ age of teh hoers
self.pregnant = False \\ whether the hoers is pregnant or not
now ill show you the basic genus
class Pacer(BaseHorse):
def __init__(self, species):
class Sprinter(BaseHorse):
def __init__(self, species):
super(Sprinter, self).__init__(,"Sprinter"species)
thats about it for now
-
I call Python: "The language that makes all for you"
Python is the easiest language in the world.
I made a game with Python:
(http://img3.imageshack.us/img3/4022/python2011092012410576.png)
-
Shame I got help so late, I was able to figure this out about the third day after I posted this
Lock&bin if you want
-
Shame I got help so late, I was able to figure this out about the third day after I posted this
Lock&bin if you want
I didn't see the day when you posted. But if you're greating a game in python, I suggest you download pygame library.
-
Already installed on my schools computers after a kid said he needed it etc