Skip to content

johntrimble/asteroids

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
src
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Asteroids

This is a simple asteroids-esque game for experimenting with using the Entity Component System in ClojureScript. This is still a work in progress.

Demo

You can see the game in action at http://johntrimble.github.io/asteroids/. Currently, this works best in Chrome, but also supports Safari and Firefox. I'm still ironing out some issues with IE.

Requirements

  • bower (>=1.2.4)
  • leiningen (>=2.3.2)

Build

From the project root, run the following commands:

bower install
lein cljsbuild once dev

Run

From the project root, run the following commands:

lein ring server-headless

You can now use your browser to access the application at http://localhost:3000. The game performs best in Chrome.

Controls

Keys:

  • left arrow rotate left
  • right arrow rotate right
  • up arrow fire thrusters
  • spacebar fire weapons

About

A small asteroids-esque game for experimenting with Entity Component System and ClojureScript

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages