Posts

Showing posts from January, 2019

Asteroids (Rice Rocks) in Python version 2

This is the latest version of my asteroids game.  In this version, I have the ship moving, the asteroids being created in random places every few seconds and ship being able to fire missiles from the top of the ship. I also included score and lives counters. (See the video. It includes sounds) This is all I needed to do for this part of the project.  In the next part of the project, I will try to finish the game. My notes for finishing version 3 are below.

Introduction to Flask

Image
This is my first attempt at using Flask with web pages. I am using Flask from Team Treehouse.  I have finished the courses on HTML& CSS and HTTP.  I liked the HTML &CSS course but did not really enjoy the course on HTTP.  Eventually, I hope to start developing my own websites with Flask and Python.

Asteroids (Rice Rocks) version1 in Python with SimpleGui

Image
This is my first version of Asteroids (Rice Rocks) in Python using SimpleGui.  I have only a ship and one asteroid. The ship has basic movements and a thrust image when the "up" arrow is pressed down  and an accompanying sound with the thrust. The asteroid's movement is random and disappears from the screen. You can the game so far in the video. This is expected to be a two week project. However, once again, I expect that this is based on the belief that the students don't work. For some one who has a regular job, this is probably a 3 or 4 week project. For the first week, we are only expected to have a ship (with proper movement), an asteroid ( with proper movement) and a missile. I still need to work on the ship's movement and the missile. With regard to the ship's movement.  I just copied my code from the Pong game and added that as a method on the ship's class.  There are 2 images for the ship: one without thrust and one with thrust. This...