Hollweg / Rice-Rocks

Asteroids-like game developed in Python to Rice University Cousera Python course.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Rice Rocks

The purpose:

This software was developed for course Introduction to Iteractive Programming in Python - part 2, from Rice University by the online courses platform Coursera. The code was developed in December 2013.
The game template was grant by Rice University teachers.

If you have some interest to see the Python courses from Rice University, take a look on the links below:

https://www.coursera.org/learn/interactive-python-1
https://www.coursera.org/learn/interactive-python-2

How the game works?

The code was developed to run on the platform grant for Rice University, the CodeSkulptor, but it can be adapted to work on different Python environments, since that code portability would be made. We used in this code some specific libraries, very similiar to libraries on Python game frameworks, like Pygame, for example.

To visualize the game working fine on its original platform, click on the link below and in play (in the superior right corner of screen). It should open a browser pop-up and the game must work! :D

http://www.codeskulptor.org/#user41_fz5rPDB45s_9.py

Below we have some images of the game on CodeSkulptor platform:

Imgur
Imgur
Imgur

Game Instructions

The game objective is to get the highest score and try to survive the meteors.

  • You start with 3 lives
  • Destroy one asteroid give you 1 point.
  • Every 250 score you'll receive an extra life.
  • There is a button to Reset the game.
  • There is a field to put your name and a field to change (if desired) the ship thrust velocity (0.1 to 1).
  • There are 4 different difficulties.

Note: You only can change the game difficulty if the game is reseted.

Copyright

The project can be reproduced with no problem.
However, I only ask you to mantain original credits/references to the author.
If you comment about Codeskultpor, please, reference Rice University teachers. :).

Enjoy!

Hollweg

About

Asteroids-like game developed in Python to Rice University Cousera Python course.


Languages

Language:Python 100.0%