Skip to content

Space. Space. I'm in space. And this is an implementation of Rocks In Space, an Asteroids clone envisioned by yours truly for use in the final project for CSCI 4511W, Intro to AI.

Notifications You must be signed in to change notification settings

mikewadsten/rocks

Repository files navigation

Rocks In Space

What is this?

This is a simple "clone" of the arcade game Asteroids, created by Mike Wadsten to use as part of a final project for CSCI 4511W at the University of Minnesota. There is no "player" - the spaceship moves around of its own will.

How do I run it?

In order to start a local instance of the game, you'll need NodeJS and npm. Once you have the source code, run

$ npm install

from the root directory - all necessary NPM packages should automatically install. You may need to do npm install -g grunt-cli -- I seem to have forgotten about this one.

Once all these dependencies have been installed, run

$ grunt

This will compile all of the CoffeeScript files to JavaScript, minify that JavaScript as well as the HTML and CSS necessary for the site, and copy these files to the public/ directory.

Finally execute

$ sudo node server.js

to launch the Node app and serve up the game.

But is it live somewhere already?

Yes... yes it is. Live demo here.

What is there left to do?

  1. Implement depth-limited breadth-first search and A* algorithms.
  2. Add functionality to report game results back to server. (See Environment.jsonify)
  3. Be awesome...?

About

Space. Space. I'm in space. And this is an implementation of Rocks In Space, an Asteroids clone envisioned by yours truly for use in the final project for CSCI 4511W, Intro to AI.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published