Skip to content

Maze - a game in which you have to find a way out, but there is one problem. There are a lot of little orange spots on the board with random effects! This app is written in Java using Awt.

Notifications You must be signed in to change notification settings

PiotrStoklosa/MazeGame

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

MazeGame

Hi!

This is my second project written in Java. MazeGame is the game, in which you have to escape from maze! There is one problem, this is not a classic maze. On the board you can notice a lot of small spots. If you walk onto this spot, you will get a certain effect! At the moment there is only one effect (changes the exit location to another randomly selected one), but in future I want to add more! The game is ready to download and play, but it's still developing. Below I advertise how to run an app, instruction for users, the documentation for programmers and application extension prospects!

Table of contents

How to run an app

  1. Open any Java IDE.
  2. Create new project.
  3. Download source code and pictures from https://github.com/PiotrStoklosa/MazeGame.git
  4. Run main in Main class.

Instruction for users

MazeGame app is really simple to use! First of all, when you run a project you will see basic menu. Choose difficulty level and size of the board. After this you will see a process of creating your maze (look at the photo below, every time you will play on the new randomly generated board).

white terrain- not generated

green square- generated, but not finished

purple square- generated and finished

When the process is over, the game will begin (photo below)!

You are Orange Guy, you can move with arrows and you have only one task! You have to find the exit! As I mentioned in the opening, each red spot has own effect. At the moment there is only one effect (changes the exit location to another randomly selected one). Sometimes you are forced to take an effect, so MazeGame is not easy as you think! Try it yourself, good luck!

If you have any questions, contact me!

Documantation for programers

Technologies:

  • Java
  • Awt
  • Canvas

Short info about some more important classes:

  • MazeBlock stores an information about each block on the board (informations like walls, Orange Guy location, coordinates),
  • Maze is responsible for generating a maze
  • MazeModel / MazeView / MazeController MVC role,
  • Effect represents an effect on the board, base class for particular effects (e.g. NewExit),
  • MazeDraw is responsible for graphics (this class extends Canvas).

Implemeted software designed patterns:

  • MVC

Application extension prospects

Application is still in developing process, below i advertise some of ideas that I want to implement:

  1. New effects (rotation a board (90/180 degree), teleportation to random position etc.).
  2. Upgrade board graphics.

About

Maze - a game in which you have to find a way out, but there is one problem. There are a lot of little orange spots on the board with random effects! This app is written in Java using Awt.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages