How I split the work force?
We are a group of 3 persons so each of us researches the set
of codes for the script. I’m finding pygame, sys, os, shuffle and time. Everyone in my team will come out with a few
questions. I’m coding the script while
Jerry and Karmeng assist me.
Individual learning experience and progress
I find python language was amazing. Python is flexible and
easy to use epically the alignment of the codes\strings. I’ve understand more about python when I’m
doing scripting. Sys, Os, pygame is something new that I’ve learned through
this projects. I completed the script in two days. On the first day was coding
my script, second day was adding the func.
Problems encounter.
I will list out a few problems I encountered. The first one
was when I tried to imported pygame into python 2.7.5 it gave me an error of [Import module no
pygame]. I went to google the error and it says I’m missing the plugin. I enter
the official website and downloaded the .msi file. After installing I tried to
run the script once more and it gave a different error this time [1% of the
pygame not found]. I google it again and
found out that the official website doesn’t update frequently but I found a
website https://bitbucket.org/pygame/pygame/downloads
that updates every new version of python. From there I solved my problem.
I was puzzled at first why did I have the attribute error. It took me 20 minutes to find out that I was missing .mixer. I used Google to solved most of my problems. Sometimes I used the python book I borrowed from NYP libary. This were the major problems, the rest are syntax error or minor error.
I was puzzled at first why did I have the attribute error. It took me 20 minutes to find out that I was missing .mixer. I used Google to solved most of my problems. Sometimes I used the python book I borrowed from NYP libary. This were the major problems, the rest are syntax error or minor error.
Explanations of the codes I used in layman term.
Pygame is to play sound or show an image
Os is to clear my screen
Time is to freeze the time
Shuffle is to shuffle the questions
Print is to show the user what you want to say.
While is to loop
List is to list something
If is to compare
Raw_input is to let the user input
Tuples values cannot be changed, added, or removed, they are
like sticky constant values. I used it for the marks.


No comments:
Post a Comment