Posts

Showing posts from 2012

Asteroids game using Python - Pygame module

Image
Asteroids  is a  video   arcade 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 ) Splash screen Gameplay - 1 Gameplay - 2

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 My final grade

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

Rock-paper-scissors-lizard-Spock

Rock-paper-scissors-lizard-Spock is a five-gesture expansion of the classic selection method game rock-paper-scissors . It operates on the same basic principle, but includes two additional weapons: the lizard (formed by the hand as a sock-puppet-like mouth) and Spock (formed by the Star Trek Vulcan salute ). This reduces the chances of a round ending in a tie. The game was invented by Sam Kass and Karen Bryla. The game was mentioned in three episodes of The Big Bang Theory . According to an interview with Kass, the series producers did not ask for permission to use the game, but he was later referenced in an episode in the fifth season. Rules The rules of Rock-paper-scissors-lizard-Spock are: Scissors cuts paper Paper covers rock Rock crushes lizard Lizard poisons Spock Spock smashes scissors  Scissors decapitates lizard  Lizard eats paper  Paper disproves Spock  Spock vaporizes rock  Rock crushes scissors  There are ten possible pairings of the five gestures; e

How Much Sleep Do You Really Need to Work Productively?

Image
An article by Leo Widrich Every one of us, on average, will be sleeping for 24 years in our lifetime. Still, there are many unanswered questions about sleep and how much we need of it. With this post, Leo Widrich sets out to uncover what the most important research has taught us about sleep. And of course, how you can use this knowledge to create an unbeatable daily routine. One of the biggest problems I've discovered is that sleep is such an overly-talked about topic. We get the general idea that we know all about it: how much we need of it, how it impacts us, and why this or that happens when we sleep. Once I took a step back to really think about where our knowledge about sleep comes from, I realized that nearly all of it is based on hear-say or what my mom told me when I was in elementary school. Eliminating the 8 hours per night sleep myth Everyone has an answer to "how much sleep do you need"? A common one—and one that I have given on many occa

Your Taste in Music Can Reveal How Smart (or Dumb) You Are

Image

Historical facebook status :P

Image
By COOLMATERIAL...

Penn Jillette quote

Image

Dear Human...

Image
- By Zach Weiner