Git Product home page Git Product logo

foofighter.js's Introduction

FooFighter.js

An experiment in making a really crappy starfighter game.

Demo

How to play

While the gameplay itself is still under development, it can be said that the game is about survival and efficiency. You have 5 minutes to amass the best score you can without perishing.

Use the cursor keys to move your player and space bar to fire lasers. Each laser you fire deducts 2 points from your total score (won't go below 0 points). Each enemy unit behaves differently and are worth different point values:

  • Asteroid (5 and 10 pts): slow, deliberate movement on the X and Y axis. Large asteroids explode into smaller asteroids on collisions.
  • Enemy Ship (15 points): Moves along the Y-axis and fires lasers .
  • Enemy UFO (18 points): Kamikaze unit that accelerates towards the player along X and Y axis.

To install

# Install global grunt module
sudo npm install -g grunt-cli

# Install package dependencies and build
npm install

To start app

# Start a server @ localhost:3000
npm start

To build the game source

grunt
# or to auto-build on save
grunt watch

Game art provided by:

foofighter.js's People

Contributors

spmurrayzzz avatar

Stargazers

nikku avatar Anibal avatar Bernhard Millauer avatar Eric Brown avatar Scott O'Hara avatar

Watchers

James Cloos avatar  avatar  avatar

Forkers

recruiterbill

foofighter.js's Issues

Power-ups

Playing with a few ideas for power ups in-game, some time-limited, others not...

  • Shield
  • dual and tri fire
  • spread fire
  • temporary invincibility
  • speed boost
  • point bonus

Implement sprite pooling

Presently, all the asteroid sprites are created on-demand in perpetuity. This is problematic for frame rates in the long run.

Alternative here would be to create a finite amount of sprites up front and recycle them as needed.

Add other enemy types

Need more than just asteroids, there are at least 2 other enemy ships in the spritesheet we can add.

Behavior TBD...

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.