https://github.com/bryanlimy/maze-game
Implemented a simple maze game in Java
https://github.com/bryanlimy/maze-game
Last synced: 11 months ago
JSON representation
Implemented a simple maze game in Java
- Host: GitHub
- URL: https://github.com/bryanlimy/maze-game
- Owner: bryanlimy
- License: mit
- Created: 2016-02-02T04:14:25.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2016-10-12T18:21:56.000Z (over 9 years ago)
- Last Synced: 2025-07-06T00:02:48.162Z (11 months ago)
- Language: Java
- Size: 17.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Maze Game
Implemented a simple maze game in Java
Our maze is a 2-dimensional grid. Each cell in this grid is either a
hallway or a wall. We denote a wall with the symbol X and an empty hallway with a blank space. There are
two players in this game — two monkeys. We denote them with symbols 1 and 2. The monkeys’ objective
is to eat as many bananas as possible. We denote bananas with the symbol B. Some bananas are stationary,
and some bananas move about the grid. We denote mobile bananas with the symbol M. Figure 1 (left) shows
an example initial state of the maze game. Notice the two players (1 and 2), four bananas (B), and two
mobile bananas (M).