Giter Club home page Giter Club logo

maze-runner's Introduction

Maze_Runner

The Program consists of 5 separate files.

1 Main

To run the program.

2 Graphics

Using Tkinter Package along with canvas module, I created a small Interface Window, along with 2 other classes Line and Point to draw on the canvas.

3 Cell

Using the classes present in Graphics.py, i created 2 functions to draw a cubical cell and to draw a red & gray line for recording the moves.

4 Maze

Now using the Cell class, i created 4 functions

- Create Cells : To append cells generated on in grid pattern.
- Draw Cells : To Draw cells at a particular point and animate it.
- Break Entrace and Exit : Removes the top of the first Cell at (0,0) and Bottom wall at bottomost right cell.
- Break Walls : To calculate possible moves using the cartesian coordinate of cell and to randomly remove walls using Random Library methods.
- Solve : Simple Implementation of DFS search to find out the solution.

5 Test

This consists of Unit tests to ensure the program in in-sync with the goal.

maze-runner's People

Contributors

pulkit-koshal avatar

Watchers

 avatar

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.