Code Monkey home page Code Monkey logo

asteroid-ship's Introduction

To run the framework:
java -Djava.library.path=lib/native/your-os -jar asteroidsfw.jar [parameters]

Substitute your-os with your operating system (look under lib/native to see the supported ones). If using java2d graphics (see below), you don't need to set the native path at all.

Parameters are:
file=filename   - reads configuration data from file filename
graphics=opengl|java2d  - sets the graphics mode to OpenGL or java2d. OpenGL is the default mode. If using java2d, you don't need the native opengl libraries.

Look inside the file named "input" to see information about the accepted configuration parameters. NB: you need to see the parameters, because that is how you load your ship into the framework.

For example, I start the framework on my laptop with the following command:

java -Djava.library.path=lib/native/linux -jar asteroidsfw.jar file=input

...and I start with a yellow human ship playing against John's purple one.

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.