Arachnoid

Arachnoid is an Arkanoid/Breakout clone with a twist – instead of bricks, there are spiders crawling all over the place! There are several kinds of spiders with different abilities, as well as other obstacles and bonuses.

The game is written in Python/Pygame. Graphics are adopted from several sources (see this post with the links).

Click here to download the game (current version is 0.5)

Running the game: python main.py

Controls:

– Right & left arrows, or mouse movement to move the paddle (mouse is preferable because it supports acceleration)
– Space or left mouse button to release the ball
– Key ‘p’ to pause the game, and ‘o’ to continue after pause
– Del to go the next level (only in the cheat mode)

Command line options (only if argparse module is installed):

–cheat: turns on the cheat mode (Del allows to go to the next level, and the game doesn’t stop when the number of lives goes below 0)
–level N: starts on level N instead of 1

TODO:

– sound
– saving scores, high-score table
– info screen with the explanation of enemies and bonuses
– list of locked/unlocked levels & level codes instead of starting from any level (maybe)
– level editor
– installer

Tested with python 2.7.3 and (to some extent) 2.6.6, and Pygame 1.9.1.

This entry was posted in code, games, python and tagged . Bookmark the permalink. Follow any comments here with the RSS feed for this post. Trackbacks are closed, but you can post a comment.

2 Comments

  1. Posted February 10, 2013 at 13:56 | Permalink

    Aw man, I want to try this.
    I downloaded it and tried to play on Debian stable, and I get this:
    $ python main.py
    Traceback (most recent call last):
    File “main.py”, line 5, in
    from pygame.compat import geterror
    ImportError: No module named compat

    I did an aptitude search compat
    and find nothing related to python anything, or pygame.

  2. cat
    Posted February 10, 2013 at 14:12 | Permalink

    Hi Tony!!

    Perhaps your version of pygame is too old? Try to install from their home site, http://pygame.org . I used 1.9.1, just downloaded the sources to have a look, and there is a file lib/compat.py, so it should be included. (Damn, I don’t even use this module except for an error message in the image-loading function which I had copied from someplace else.)

Leave a Reply

Your email address will not be published. Required fields are marked *

Your email address will never be published.

Unable to load the Are You a Human PlayThru™. Please contact the site owner to report the problem.