GithubHelp home page GithubHelp logo

anachrocomputer / earthdemsim Goto Github PK

View Code? Open in Web Editor NEW
1.0 2.0 0.0 99 KB

Earth Demolition Simulator for Ludum Dare MiniLD #42. Game for Arduino with 8x8 LED matrix display and NES controller.

C++ 100.00%
game arduino led-matrix tm1637 tm1637display max7219 minild ludum-dare

earthdemsim's Introduction

Static Badge Static Badge Static Badge Static Badge

Earth Demolition Simulator

This is the source code for EarthDemSim, a game for the Arduino. The display is a MAX7219-based 8x8 red LED matrix display from Deal Extreme (SKU #184854), and the game is controlled by an old NES controller. There's no sound (yet). Pin connections between Arduino, display, and controller are shown in the source code comments.

I also wrote about the game on my blog:

http://anachrocomputer.blogspot.com/2013/06/another-tiny-game-on-arduino.html

Ludum Dare

I wrote this game for Ludum Dare's MiniLD #42:

https://web.archive.org/web/20180718170610/http://www.ludumdare.com/compo/2013/05/18/mini-ludum-dare-42-announcement/

The game is an Earth Demolition Simulator, wherein the player shoots at the Earth from a spaceship. All implemented in 2k of RAM on the Arduino, and 64 pixels on the display.

On Github, there are two branches, "main" and "minild42". "minild42" is the original code that I wrote for the MiniLD42 contest on Ludum Dare. "main" is an updated branch that includes improvements that I've added after the game deadline. I'm still adding new stuff to the "main" branch.

Screenshot

Earth Demolition Simulator

UPDATE January 2018

Changes to support V1.00 and newer Arduino IDE

Changes to coding standards

UPDATE February 2018

Slowed down NES controller reading code slightly to cure problems when running on Arduino Nano clone board.

Removed obsolete SAA1064 (I2C) score display and replaced it with a four-digit TM1637 display module. Code now requires the TM1637 library and header file. Scoring system unchanged, so a winning game scores 1500 points. Game still runs without TM1637 connected to Arduino.

earthdemsim's People

Contributors

anachrocomputer avatar

Stargazers

 avatar

Watchers

 avatar  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.