GithubHelp home page GithubHelp logo

hasaan21 / the-escape Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 1.0 46.9 MB

The Escape is a game built in java using java Swing. In the game, there are two play modes, i.e. Normal and Difficult. The game is to save your player from enemies using cursor control keys. If you want to play the game, clone or download the repo and run "The Escape.jar" file in Compiled Project folder.

Java 100.00%

the-escape's Introduction

The-Escape

The Escape is a game built in java swing. The fundamental idea behind my project is to create a game in which there will be a player that has to protect itself from the enemies. The game has two modes i.e. normal and hard. There are different levels that will change with increase of score. Level 10 is the boss level. It’s a never ending game. The game will over as soon as power of player decreases to zero.

Description:

Start: The game will start with displaying a menu. It contains name of the game and three buttons. The Menu buttons are:

  • Play: Click to select difficulty for the game.
    • Normal: To play with normal difficulty.
    • Hard: To play with hard difficulty.
    • Back: To go back to main menu.
  • Help: Click to see instructions regarding game.
  • Quit: Click to quit game.

Game Play: The Normal mode contains basic enemy, fast enemy and a boss enemy for final level. The Hard mode contains hard enemy, fast enemy and a boss enemy for final level. A new enemy will be added to the frame each time level is changed. The level will change with every 500 increase of score. When the player collides with enemy, its power will decrease. The damage effect of basic enemy, fast enemy and boss bullets is same, but the hard enemy has slightly greater damage effect. If player collide with boss, the power will end, and game will over instantly.

End: The Game will end when the power of player reaches zero and Game Over frame will be displayed. It will contain score and a Try Again button. Clicking it will take you to main menu.

How To Play

If you do not have NetBeans and you want to play. Follow the instructions below:

  • Clone or Download the project.
  • Open folder named 'Compiled Project'.
  • Run the file 'The-Escape.jar'.
  • Start Playing!

Note: Do not delete or change anything in res folder. The game will not run that way.

Prerequisites

  • JDK 1.8
  • NetBeans

Built-With

  • Java Swing: A java library for Graphics.

Contribution

  • hasaan21

License

This project is licensed under the MIT License.

the-escape's People

Contributors

hasaan21 avatar

Stargazers

 avatar

Watchers

 avatar

Forkers

ammaraslam10

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.