pygame is
pygame.org is
|
Wiki
SubversionPygame revision control is now done with. The new instruction page. Pygame Finally, we'll be playing with a code today that depends on the python library, pygame. If you are using the thw_VM, pygame is already installed on that virtual machine. Otherwise, if you'd like to be ahead of the game, as it were, you could install that module along with python on your personal laptop. To install pygame on ubuntu: sudo apt-get install python-pygame What is Version Control You should have found out what version control was on the video lectures, but very briefly, version control is a way to keep a backup of changing files, to store a history of those changes, and most importantly to allow many people in a collaboration to make changes to the same files concurrently. There are a lot of verson control systems, so here we provide a table of some popular ones and their equivalent commands (summarized from wikipedia): Today, we'll be using SVN. Perhaps someday we'll have a second section of this experiment to go over distributed version control systems like mercurial. Checking Out The Code The Hacker Within has its own online code repository. You can check out code from it at any time, from anywhere. Since you'll need to be a project member in order to make commits to this space, we made another repository. If you gave me a google id, you are a fully fledged reading writing member today. Remember, with great power comes great responsibility. Today, we'll check out a game just for hackers. Specifically, it is an svn type repository at googlecode at. Exercise : Checking out the code
Checking The Status of Your Local Copy The files you've created on your machine are your local "working" copy. The changes your make in this local copy aren't backed up online automatically. Until you commit them, the changes you make are local changes. When you change anything, your set of files becomes different from the files in the official repository copy. To find out what's different about them, try: ~/hacker-poke$ svn status The null result means that you're up to date with the current version of the repository online! There are a few other responses you might get if you or your collaborators have been active. We'll see what they are as we go along. Updating Updating is like voting. You should update early and often , and particularly before you make or commit any changes. This will ensure you're working with the most up-to-date version of the repository. Updating won't overwrite any changes you've made locally without asking, so don't get nervous. When in doubt, update. ~/hacker-poke$ svn update At revision 89. Making and Committing a Change Now, recall the software-carpentry.org tutorial. You're Wolfman. car insurance comparison compro oro[edit] |
|