Skip to content

flosSoftware/mazegame-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

mazegame-app

This is a maze game emulator with custom levels (just edit app/src/main/res/raw/livXXX.txt) developed for Android systems.
The purpose of the game is trying to teach Java OOP and GUI programming to high school students (so ... sorry for italian comments in source code!).
If you'd like to add new levels, change MAX_LEVEL constant in MainActivity.java.

Some screenshots of the game in action!

pic

pic

pic

pic

How to play

  • To move the hero, just tap on nearby cells (hero can move only one step at a time).
  • Reach the goal.
  • Avoid the monsters!

Level file structure

<size of elements matrix> <size of element in pixels> <number of lives>
<elements matrix>
<index of door unlocked by key 0>
<index of door unlocked by key 1>
...
<index of door unlocked by key n>

Legend of symbols present in element matrix:

  • ^ Monster (vertically moving)
  • v Monster (vertically moving)
  • > Monster (horizontally moving)
  • < Monster (horizontally moving)
  • - Brickwall (Horizontal)
  • | Brickwall (Vertical)
  • @ Door Key
  • ? Locked Door (Vertical)
  • / Unlocked Door (Vertical)
  • _ Locked Door (Horizontal)
  • \ Unlocked Door (Horizontal)
  • o Hero Start Position
  • x Final Goal

Note that keys are read in row-based fashion.

About

Maze game emulator for Android.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages