Coder Social home page Coder Social logo

submarine-dodge's Introduction

Submarine Dodge

Submarine Dodge is a game in which you are the captain of a submarine that is being chased. Your goal is to maneuver your submarine so you don't get hit by any missiles while ensuring you don't crash into any sea creatures. The objective is to see how long you can go until you run out of lives.

Prerequisites

The project was built solely with Java. This project uses nothing fancy so any reasonable version of Java should be fine. Java can be installed from here.

In order to easily build the project you will need ant (I strongly recommend this). That can be installed from here. For Mac it can be installed through Homebrew.

Running

To run the game you first need to build it. Head over to the home directory of the project (the one with the build.xml file in it) on your terminal and run:

ant 

Then to launch the game type:

ant run

Gameplay

There is not much to say. Just don't get hit by anything. You have five lives so after five collisions with either missiles or sea creatures you lose. The only way to maneuver your submarine is up and down using the up and down arrow keys on your keyboard.

Images

The images obtained in the game are courtsey of the following sources:

Contact

Please contact me for any issues or suggestions. For any bugs or anything related to the code please open an issue. Otherwise you can email me at [email protected].

submarine-dodge's People

Contributors

harryshomer avatar

Forkers

battyone

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.