Deprecated: Function split() is deprecated in /var/www/mlabs/web/blog/pivot/pvlib.php on line 4750

Deprecated: Function split() is deprecated in /var/www/mlabs/web/blog/pivot/pvlib.php on line 4751

Notice: Undefined index: SCRIPT_URI in /var/www/mlabs/web/blog/pivot/pvlib.php on line 60

Deprecated: Function ereg_replace() is deprecated in /var/www/mlabs/web/blog/pivot/pvlib.php on line 2119

Notice: Undefined index: debug in /var/www/mlabs/web/blog/pivot/pv_core.php on line 72
Mindless Labs dev blog - Our contribution to PyWeek #7

Our contribution to PyWeek #7

PyWeek #7 was held from September 7th to 14th second time this year. This time the winner theme was: ""The length of a piece of string". Our basic idea was to place the player in the role of a garbage collector which collects unused memory chains(strings) into a longer chain which later can be freed at specific locations. The game controls are pretty straightforward: you can navigate in the main menu with the cursor keys or with the mouse. Pressing the ESC key either returns to the main menu or quits from the program if pressed in the menu. Because nobody ever reads the documentation we decided not to complicate things too much. You can select between four programming languages each with different difficultly level you want collecting garbage in:
Collecting garbage is simple: control the head of the list with the mouse and the descendant elements will follow. If your garbage chain's head collides with a free chain's head then the free chain will be appended to yours. If a free chain isn't collected in a specified amount of time it disappears and counts as a memory leak so you have to be quick. If you run out of memory then it's game over! As your list grows longer controling it is getting more and more difficult. There are garbage collecting points where collected elements can be dropped and traded for points. Collected memory is freed thus decreasing memory usage. If all allocated memory are freed you win! Care should be taken though because there are bad memory chains. Collecting them will also cause memory leak. Bad memory chains are easily distinguishable from ordinary ones because they are grey shaded.

The lastest py2exe'd windows version can be downloaded from:
http://mindless-labs.com/games_old/gcollector/garbage-collector-v1.01-win.zip

Have fun playing!

Comments

Comment by Dykam, () (URL) on 09.06.27. 10:25
That last link is broken.

Comment by Ron, on 09.06.29. 10:02
Updated the link, thank you! Have fun :)

Comment by coach purses, () (URL) on 11.10.29. 07:12
Coach is one of the most distinguished leather brand all over the world. You can find many wonderful cheap Coach Purses on our Coach Factory Stores

Comment by coach outlet store online, () (URL) on 11.10.29. 08:12
coach outlet store online has been voted by Hour Detroit magazine readers as the Best of Detroit in their 12th annual readers’poll. Coach Outlet Store is in part simply a response to consumer demand. Consumers accept the notion of the desirability of select consumer product brands and designer labels.

Comment by coach outlet, () (URL) on 11.10.29. 11:24
coach outlet has a zippered closure and buckles for extra security. Shiny brass hardware, rounded leather handle, and an interior pocket. It also includes a limited edition Hawaii luggage tag and lock. Here you can find the latest products in different kinds of coach outlet store online making best materials.They are leisure practical products in the new generations.

Comment by UGG Pas Cher, () (URL) on 11.10.31. 06:46
Jamais blâmer la mesure pour ne pas faire cela effectuer sur IE, le blâme web Explorer pour ne pas venir jusqu’à localiser un total offre totale merveilleux vous beaucoup plus conviviale navigateur World Wide Web.

Comment by Bottes UGG, () (URL) on 11.10.31. 06:49
Quel que soit le type d’hébergement à vos besoins d’affaires en ligne, à un prix raisonnable d’hébergement web à partir EUKHost sera toujours fournir un support fiable qui se concentre sur les spécifications de l’acheteur de garantir que votre entreprise est en fait un résultat retentissant bon.

Comment by herve leger, () (URL) on 11.11.28. 07:23
Nice to be visiting your blog again Herve Leger, it has been months for me. Well this article that i’ve been waited for so long. I need this article to complete my assignment in the college, and it has same topic with your article Herve Leger Dresses. Thanks, great share.

Comment by ed hardy clothing, () (URL) on 11.11.28. 09:26
Thank you for your sharing

Comment by evening dress, () (URL) on 11.11.29. 10:31
Right, I am fully agree with your post.This kind of evening dress is so perfect.Not only cheap but also beautiful.I like it so much and hope you will like it too!

Comment by uggs outlet, () (URL) on 12.01.02. 08:11
Excellent stuff from you, man. I’ve read your things before and you are just too awesome. I adore what you have got right here. You make it entertaining and you still manage to keep it smart.This is truly a great blog thanks for sharing

  
Remember personal info?

/ Textile
  (Register your username / Log in)

Notify:
Hide email:

Small print: All html tags except <b> and <i> will be removed from your comment. You can make links by just typing the url or mail-address.

About

Flash game development using HaXe and pals.

Archives

01 Nov - 30 Nov 2009
01 Oct - 31 Oct 2009
01 Sep - 30 Sep 2009
01 Jul - 31 Jul 2009
01 May - 31 May 2009
01 Apr - 30 Apr 2009
01 Mar - 31 Mar 2009
01 Feb - 28 Feb 2009
01 Jan - 31 Jan 2009
01 Dec - 31 Dec 2008
01 Nov - 30 Nov 2008
01 Oct - 31 Oct 2008
01 Sep - 30 Sep 2008
01 Aug - 31 Aug 2008
01 Sep - 30 Sep 2007

Calendar

Linkdump

Game design document - §

If you are about to create a new game, be sure to read this nice article along with its predecessors.

09.11.24. 13:29 | nine comments

VelociRapid game element preview - §

Click the banner to play a preview of prey fleeing, and also take a peek underneath to see the quadtree space partitioning (nodes do not collapse right now). WSAD to control the dino.

09.11.19. 23:18 | 55 comments

Gambit's response to recent virtual currency changes - §

An interesting read at the Gambit blog.

09.11.05. 10:19 | two comments

Dirty coding tricks of game developers - §

Read it at Gamasutra

09.11.03. 10:02 | comment!

Payment providers - §

Some alternative payment providers for running your own virtual curreny system:

09.07.13. 21:38 | two comments

ssh tunneling in linux - §

To forward the local port X to the local port Y of the remote machine:

ssh -L X:127.0.0.1:Y remote.machine -N

Usage example: Setup a local web proxy (like privoxy) on a remote university machine, and connect to it from home. This way you can access university resources with ease.

09.05.14. 10:28 | seven comments

Free flag images - §

http://www.33ff.com/flags/index.htm

09.04.08. 11:52 | comment!

Render text with ImageMagick - §

convert -font font.ttf -background none -geometry +0+0 -fill \#ffffff -pointsize 18 label:"`cat txt`" -set label '' out.png

09.04.02. 15:16 | three comments

Online Latex equation editor - §

Online latex is

09.03.11. 09:02 | comment!

Create swc from a tree of as3 files - §

V1 (thanks to Jarrad Hope!) compc -output my_swc.swc -include-sources .

V2 (the old and hacky :) cd tree_top; compc -source-path . -output my_swc.swc -include-classes `find . -regex .*as | awk '{gsub(/\.\//, "", $0); gsub(/\.as/, "", $0); print $0}'`

09.03.06. 09:58 | 19 comments

Delete first line from file - §

sed -i '1d' file.txt

09.02.18. 12:28 | comment!

Gentoo: check security holes - §

glsa-check -p $(glsa-check -t all)

09.02.04. 11:30 | four comments

Execution speedup with fifo - §

Speed up the execution of programs that generate massive unwanted log-files by sending those logs to null through a fifo: mkfifo logfile
cat logfile > /dev/null &
./myprogram -log logfile

09.01.19. 14:09 | three comments

ImageMagick PNG background and auto-crop - §

Set background to white and auto-crop with ImageMagick: for i in `ls *png`; do convert -flatten $i x.png; convert -trim x.png out_$i; done

09.01.12. 17:15 | six comments

Linux: split file on pattern - §

awk '/PATTERN/{i++}{print > "file.pdb."i}' file, found here

08.12.15. 17:46 | four comments

Replace in multiple files on Linux - §

perl -pi -w -e 's/search/replace/g;' *.php
Found here.

08.12.10. 10:42 | seven comments

XPath in Python - §

A nice summary about options for xpath with python here.

08.12.09. 18:41 | comment!

Christmas Icons - §

Free Chrismtas Icons!

08.12.08. 11:46 | comment!

PS print on WinXP - §

Print to PS on WinXP without any printers! Cool :)

08.12.04. 12:59 | comment!

Sorry, OpenOffice - §

OpenOffice is simply a no-go. Ill UI, missing features. Go for Latex or Crossover Office instead.

08.12.02. 14:31 | four comments

Last Referrers

Miscellany

Powered by Pivot - 1.40.7: 'Dreadwind' 
XML: RSS Feed 
XML: Atom Feed