Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/randhir200/maze-game-exit-grid

You are playing the famous Maze Runner Arcade Game. The game contains a maze which has values{'L', 'R', 'U', 'D'}, where L -> indicates that you move left, R -> indicates that you move right, U -> indicates that you move up, while D -> indicates that you move down. The score is calculates as the number of moves in which you exit the grid. If you cannot exit the grid, that means your scoreshould be returned as 0. Given a square matrix, denoting the maze, write a program to calculate the score. Note: You will always enter that the maze through the position (0,0).
https://github.com/randhir200/maze-game-exit-grid

Last synced: 1 day ago
JSON representation

You are playing the famous Maze Runner Arcade Game. The game contains a maze which has values{'L', 'R', 'U', 'D'}, where L -> indicates that you move left, R -> indicates that you move right, U -> indicates that you move up, while D -> indicates that you move down. The score is calculates as the number of moves in which you exit the grid. If you cannot exit the grid, that means your scoreshould be returned as 0. Given a square matrix, denoting the maze, write a program to calculate the score. Note: You will always enter that the maze through the position (0,0).

Awesome Lists containing this project

README

        

# Maze-Game-Exit-Grid
You are playing the famous Maze Runner Arcade Game. The game contains a maze which has values{'L', 'R', 'U', 'D'}, where L -> indicates that you move left, R -> indicates that you move right, U -> indicates that you move up, while D -> indicates that you move down. The score is calculates as the number of moves in which you exit the grid. If you cannot exit the grid, that means your scoreshould be returned as 0. Given a square matrix, denoting the maze, write a program to calculate the score. Note: You will always enter that the maze through the position (0,0).