As of 2016-02-26, there will be no more posts for this blog. s/blog/pba/
Showing posts with label Space Invaders. Show all posts

nInvaders is a Space Invader clone, was made more than a decade ago, still runs even without any updates or patches for nearly 13 years.

https://lh3.googleusercontent.com/-VqnOn66mxv8/Vp1_Fax1veI/AAAAAAAAI-E/0LojE98PWLI/s800-Ic42/ninvaders.gif

Actual speed as recorded

Not sure if its by design or just outdated code, you will need to defeat the invaders in less than 20 seconds, which I dont believe thats plausible. Therefore, I edited the code, watch this video from 30 mark:

  • Time dilation devide: nInvader.c:L33 s/50/10/

  • Invisible Laser Destroyer: playerReloadMissile.c:L179 s/if/while/

  • Secret spell: UUDDLRLRBA

    #!/bin/bash
    
    echo -e '\e[31;1m*** CHEAT MODE ENABLED ***\e[0m'
    echo -e '- \e[34;1mTime dilation deviced\[0m    : \e[1;32mON\e[0m'
    echo -e '- \e[34;1mInvisible Laser Destroyer\[0m: \e[1;32mUPGRADED\e[0m'
    

Note

Turns out, its a 13-year-old bug, and everyone had played it without knowing it or even questioning it. Ive forked it and patched the bug, you can get the updated nInvaders. (2016-01-21T08:29:10Z)

It has one command-line option for changing difficulty level, -l 0 for NIGHTMARE level and -l 9 for the easiest setting. There is also two builtin cheats, L for one more life and W to skip the level.

nInvaders was created by Thomas Dettbarn in 2002, written in C with ncurses under the GPLv2, currently version 0.1.1 (2003-05-08).

konsole_invaders is yet another clone, but it feels more action packed, because you have to keep tapping firing keys.

https://lh3.googleusercontent.com/-linHJ8U-yiQ/VprG3xL-3gI/AAAAAAAAI7g/UAxhakKSWis/s800-Ic42/konsole_invaders.gif

It supports WASD, HJKL, and arrow keys, plus Space for firing. It has scores, lives, and rockets. You get an extra life and rocket capacity once you clear a level or a wave of aliens. Detailed options for customize the gameplay, which can also be set with configuration file. Different types of alien ships, as deeper into levels, you get the stronger enemies.

Although, it looks good in many aspects, not so on other things. Such as big terminal size requirements, probably due to ASCII art of alien ships; and as you advance to later waves, you constantly have to press the firing key, if there was an auto-firing switch it would be much easier to play and for your wrist.

konsole_invaders was created by Fabian Ebner on 2011-08-17, written in C99 with terminal size 103x44+ under the GPLv3+, currently git-42b96db (2016-01-16)

ascii-invaders is a Space Invaders clone, the classic arcade and space shooter game, in animated ASCII art.

https://lh3.googleusercontent.com/-Ykm5etdYYCY/VkVa9XmCrxI/AAAAAAAAIMs/NlM6pwlHVy8/s800-Ic42/ascii-invaders.gif
https://cdn.rawgit.com/macdice/ascii-invaders/6db2a8984bb1b8109764779c3f6dd7e1cee2e9f1/images/loop.gif

You control the laser cannon or gun ship, you fire at the aliens ships to destroy them using Space and Arrows or J/K to move about, chasing or evading coming weapon fires. 3 lives to waste if you aint good at this like; or 2 lives too more, because you are a nerd, one is enough.

Beside three minions of alien ships, there is a big red one mother ship? which seems to only appear in very end, which gives you 50, 100, or 150 points if you can destroy it.