Git Product home page Git Product logo

destroid's Introduction

Destroid

A space shooter based on the classic Asteroids, written in Elm.

Destroid places stronger emphasis on the compactness property of space that was utilized in Asteroids and other games โ€“ i.e. the fact that when traveling off in some direction you eventually reemerge on "the other side". Unlike in Asteroids, the player's view extends beyond the size of the space so that this compactness is visually apparent: The player sees "additional copies" of their ship and other physical bodies when sufficiently close to the boundaries of the screen.

Controls

  • Space bar = shoot / start game
  • Up-arrow = accelerate
  • Left/Right-arrows = rotate
  • Escape = pause

Compilation

To compile have the Elm Platform installed, navigate to the repo directory and type:

elm-make Destroid/Main.elm --output index.html

or place the generated index.html file anywhere the needed img/ folder is also present.

Acknowledgements

I am grateful to be using Alien Encounters by ShyFonts for the logo and 04b_03 by Yuji Oshimoto for other text.

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.