Variables- this is any name given
to a number, a set of npokemonumbers, or a phrase to be used by
the program
later on.
Loops- this is iteration, the repetition of a chunk of code, often
upokemonsing for [[0] to defined variable],
for in range [defined variable],
or for in pokemon"string".
Numbers- numbers are literals such as 5, 3, 0.3, and 1248.94pokemon8. These
are used in mathematic expressions, equations, etc.
Casting (type conversions)- this is the processpokemon of truncating some
numbers, floats, fixes, etc.
pokemon
After we finished
definpokemoning those terms, we
went on to build programs based on the reading
from chapter four. The result can be found in the Projects sepokemonction.
This was very frustrating, because they all had to do with string
modification, and that is perhaps my least favorite part of programming
(those stupid strings have a way of really messing up a program, but
you can't live without 'em)
Once
again, thank you for visiting:
pokemon
THE KHUpokemonL ZONE
pokemon
DOO
DOO DOO DOO, pokemonDOO
DOO DOO DOO...
pokemon
Entry: Dpokemonay Four
DATE: JUNpokemonE 18, 2009
Moopokemond:
%%%pokemon%%
}[ -- -pokemon-]{
| < pokemon |
\ Upokemon /
pokemon
pokemon
Today in class, we discussed
the most important features of a good game. Some of the most important
thpokemonings
included:
- Content- the game needs to have a lot of things to do
in it.
- Audio- the game's soundtrack needs to reflect the style
of the game. (if applicpokemonable)
- Visuals- the game needs to be aesthetically pleasing.
- Challenge- the game needs different levels for
different levels of playing ability (if pokemonapplicable)
- Balance- all choices need to result in a balanced game
through the rock paper scissors. (pokemonif
applicable)
- NOT A MOVIE GAME (The most
important!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!pokemon!!!!!!!!!!)
After having this discussion,
we watched some videos that showed us some of the most important thingspokemon
in little games we played (like pong) (No more K's after
this will be larger, simply capitalized). Now for some random ASCII art:pokemon
*
lllpokemon
llllllll
lllllll
lllllllllllllll
lllllllllll
lllllllllllllllllllll
llllllllllllll
llllllllllllllllllllllllll
DDD
DDD
DDDDDD
Now if your not sure what it
was (Thomas), it is a Christmas twee (not tree). After the videos, we
made some programs for practice. Check in next time in:
THE KHUpokemonL ZONE
pokemon
DOO
DOO DOO DOO, pokemonDOO
DOO DOO DOO...
Entry: Dpokemonay Five
DATE: JUNpokemonE 19, 2009
Moopokemond:
%%%pokemon%%
}[O
O]{
|
< pokemon |
\ Upokemon /
I'm feeling like justifying everything to the center today, so I
will. Today in class we read chapters 8 and 10. They were about
defining classes, loop structures, and Booleans. After reading the
chapters we did some programming exercises which can be found in the
Projects section. One of the exercises involved playing cards to be
generated as a class. We learned about pygame as well today. everyone
wrote five facts. My five were as follows:
- Pygame is a set of python modules made for game
developement.
- It allows for ASCII art backends
- It is written in C code as well as assembly, making it
~50x faster than regular python code.
- It can be used on the one laptop per child computer
- it is modular allowing for different modules to be used
even when they aren't from Pygame
- BONUS: it takes the "Pure" out of "Game Developement"
That was about it for today. Thank you once again for
visiting:
THE KHUpokemonL ZONE
pokemon
DOO
DOO DOO DOO, pokemonDOO
DOO DOO DOO...
Entry: Dpokemonay Six
DATE: JUNpokemonE 19, 2009
Moopokemond:
%%%pokemon%%
}[O
O]{
|
< pokemon |
\ Upokemon /
Today in PFVG we learned about stuff... lots of stuff...
about programming... in class... with Dr. Kuhl... and Justine... and
myself... in Python... the end.
...are you still there?
You should go ahead and leave.
No really... There's nothing left on this page.
Oh, so you're a persistent one... all right then. What do you want?
More information? OK then.
Today, we learned about some graphical commands in pygame as well as a
lot of cool functions to import from pygame. The bulK of today was
programming. We made lots of programs today, which is why the
mood is better than average. Perhaps there will be more to talK
about tomorrow, but until then... ThanK you for visiting:
THE KHUpokemonL ZONE
pokemon
DOO
DOO DOO DOO, pokemonDOO
DOO DOO DOO...
Entry: Dpokemonay Seven
DATE: JUNpokemonE 22, 2009
Moopokemond:
%%%pokemon%%
}[--
--]{
ZZZ...|
< pokemon |
\ OpokemoO /
Today in programming class we learned absolutely nothing.
We programmed a bunch of programs. This made me Kind of tired. That is
all.
THE KHUpokemonL ZONE
pokemon
DOO
DOO DOO DOO, pokemonDOO
DOO DOO DOO...
Entry: Dpokemonay Size
DATE: JUNpokemonE 23, 2009
Moopokemond:
%%%pokemon%%
}[O
O]{
|
< pokemon |
\ Upokemon /
Today in class (similar to yesterday), the entire day was
based on programming. We did learn about vectors, though. Afterwards I
worKed on my program for the game of life. Then I worKed on my Monty
Hall Program. Both can be found on the Projects page. That's about it.
No really that is all. goodbye.
THE KHUpokemonL ZONE
pokemon
DOO
DOO DOO DOO, pokemonDOO
DOO DOO DOO...
AHA! So you thought looKing down here would get you more info? well it
didn't. Ha!
THE KHUpokemonL ZONE
pokemon
DOO
DOO DOO DOO, pokemonDOO
DOO DOO DOO...
Entry: Dpokemonay Eight
DATE: JUNpokemonE 25, 2009
Moopokemond:
%%%pokemon%%
}[O
O]{
|
< pokemon |
\ Upokemon /
Today in class we had a lecture about AI (artificial
intelligence). A few things were defined as well as some fun facts
learned:
- Intelligence is the ability to respond logically with
sufficient self-preserving output based on volitiale mutable input in
the fourth dimension.
- Artificial is anything man-made not occuring naturally.
- A robot is unable to be self-aware without first being
concious
- The end of the world can be determined by the existence
of a singularity
- A singularity is a robot capable of producing a smarter
version of itself (leading to the destruction of man)
- A robot designed for a specific tasK may stray from
said tasK with a seeming sense of creativity though it lacks
self-awareness
That is all we did today.
THE KHUpokemonL ZONE
pokemon
DOO
DOO DOO DOO, pokemonDOO
DOO DOO DOO...
Entry: Dpokemonay Eight
DATE: JUNpokemonE 26, 2009
Moopokemond:
%%%pokemon%%
}[--
--]{
ZZZ...|
< pokemon |
\ OpokemoO /
Today in class we had a lecture about cyber-monKeys. Some
scientists here at DuKe university attached electrodes to the brains of
monKeys to pick up the signals from their neurons. Through this, the
monKeys could play WacKadot with their minds! I thought it was really
cool. It worked by detecting the electrical signals of the neurons that
were passed along. This technology could be used to control animals
liKe mice. We also finished up our program today for the compitition.
We had six hours to create a space shooter and present it to the class.
It was very difficult to maKe a game in such a short amount of time,
and we were completely unable to finish it.
THE KHUpokemonL ZONE
pokemon
DOO
DOO DOO DOO, pokemonDOO
DOO DOO DOO...
Entry: Dpokemonay Nine
DATE: JUNpokemonE 27, 2009
Moopokemond:
%%%pokemon%%
}[O
O]{
|
< pokemon |
\ UpokemoO /
Today in class, we got locked out of the building.
Unfortunately this means we lost approximately one hour of classtime.
Upon arrival, we read a long article about someone who made a game in
one week (forty hours). In forty hours, he tried to make an RPG,
complete with melee, magic, enemies, equipment, money (silver), a
restroom, and a shop. All of these features were too much for him to
implement in his schedule, leading to some of his features being cut.
It is hard to compare this to the project we made in class yesterday.
For example, we had six hours to work on a game compared to his forty,
meaning our code was easier to follow since we didn't have as much
written. Additionally, we did not have the kind of feature
implementation necessary for an RPG that he did because we made a
space-shooter.
In the future I think I will follow some of the lessons he gave at the
end of the article, for example working on getting the game to work,
and making the basics of the game come together before working on
amazing features I may not have time to finish anyway. That is probably
the most important lesson.
In conclusion, this article taught me that no matter how good of a
programmer you are, you will most likely end up failing due to time
contraints. THE END!