Posts

Showing posts from December, 2012

Asteroids game using Python - Pygame module

Image
Asteroids is a videoarcade game released in November 1979 by Atari Inc. It was one of the most popular and influential games of the Golden Age of Arcade Games, selling 70,000 arcade cabinets.Asteroids uses a vector display and a two-dimensional view that wraps around in both screen axes. The player controls a spaceship in an asteroid field which is periodically traversed by flying saucers. The object of the game is to shoot and destroy asteroids and saucers while not colliding with either, or being hit by the saucers' counter-fire.


This game is similar to asteroids with some features...
Github - Asteroids Pygame source files

(After extracting the zip file open dist folder and click on "Enterprise.exe" file to run)
( Had problems while converting Python to exe so this demo has no sounds or scores and lives displayed :P )






An Introduction to Interactive Programming in Python - Assignment Programs

Image
These are the assignment programs submitted in "An Introduction to Interactive Programming in Python" course conducted by Professors Joe Warren, Scott Rixner, John Greiner, Stephen Wong of
Rice University in Coursera.

Professor Scott Rixner has built this ingenious website Codeskulptor which intreprets the Python programs and runs them online.. He also made a Python package simplegui used in this website, sadly these programs will run only in this website.. I'm adding the program links to codeskulptor...

These programs work as per the guidelines specified by the Professors.. Neither more nor less....

Mini Project - I : Rock Paper Scissors Lizard Spock

Mini Project - II : Guess the Number Game

Mini Project - III : Stopwatch game

Mini Project - IV : Pong game

Mini Project - V : Memory game(It has a bug.. Will correct and update it soon)

Mini Project - VI : Black Jack Game

Mini Project - VII : Asteroids Game



Pong Game using Python - pygame module

Pong (marketed as PONG) is one of the earliest arcade video games; it is a tennis sports game featuring simple two-dimensional graphics. While other arcade video games such as Computer Space came before it,Pong was one of the first video games to reach mainstream popularity. The aim is to defeat the opponent in a simulated table tennis game by earning a higher score. The game was originally manufactured by Atari Incorporated (Atari), who released it in 1972. Allan Alcorn created Pong as a training exercise assigned to him by Atari co-founder Nolan Bushnell. Bushnell based the idea on an electronic ping-pong game included in the Magnavox Odyssey, which later resulted in a lawsuit against Atari. Surprised by the quality of Alcorn's work, Bushnell and Dabney decided to manufacture the game. Pong quickly became a success and is the first commercially successful video game, which led to the start of the video game industry. Soon after its release, several companies began producing games…