Code Monkey home page Code Monkey logo

davidsperlgames's Introduction

DavidsPerlGames

ASCII / curses arcade style games written in Perl

Initial Inspiration:

My first introduction to computers started back in the 1980s when, as a kid, I enjoyed creating simple ASCII games to keep myself entertained with both the programming and playing aspects.

Back then I was using a Tandy Model 2 computer. Later, as an adult I thought it would be fun to recreate a couple of those games. In the early 2000s my favorite language and one I was teaching classes on, was Perl, and so that is the language I used.

Amazingly enough, one of my games "Perl Defense Blaster" caught the eye of Marcel Gagné who was writing articles for Linux Journal magazine, and so I got a few fun paragraphs written about it, with a nice shout-out:
Linux Journal article with PerlDefenseBlaster

Now, with more code and solutions available online, I thought it would be a good time to add it to GitHub, along with several other projects of mine from over the years.

Dependencies

Last I looked, it requires the Curses.pm, Term::ReadKey.pm and Time::HiRes Perl modules.

Installing

These are just simple Perl scripts, so aside from getting those dependencies installed, these scripts just need to be run with:
perl PerlDefenseBlast.pl
and the like.

Playing

This collection should have 3 separate games:

  • Perl Defense Blaster

    Defend your planet from the alien invasion!
    Use the "4" and "6" keys on the number pad to move

  • Perl Racer

    Vertical scrolling racing game!

  • Perl Arena

    Kill the mutants!


Contribution

In my eyes, these small games are finished, as they are very close to the same look and feel of what I created as a kid in the 80s. However, if we find bugs or efficiency tweaks, there's always room for improvement.
I've got a growing community in our Discord server. I'd love to hear from you!
https://discord.gg/PmuBvGF5Sp

Support

If you'd like to support my work (coding, livestreaming, teaching, etc) please consider buying me a "coffee"!
https://ko-fi.com/rock808
And joining / subscribing to my Twitch and YouTube channels, where I'm often doing livestreams:
https://www.twitch.tv/rock808/videos
https://www.youtube.com/@rock808

Gallery

PerlDefenseBlaster-sample1 PerlRacer-sample1 PerlArena-sample1

davidsperlgames's People

Contributors

david-slimp avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.