Git Product home page Git Product logo

maze's Introduction

"Maze" game in Pascal:


- Program is run from the main file "maze.pas"

- Folder "src" stores all the game data:

  - File "highscores.txt" stores information about current highscores
  - File "backgroung.jpg" - main menu background
  - File "maze_ico.ico" - icon for shortcut of compliled application (set manually)

  - Folder "mazes" stores information about saved mazes:
    - The number stored in "maze_amount.txt" is an amount of saved mazes
    - File "maze_list.txt" stores the list of all saved mazes` names
    - Others files are saved mazes themselves

- Folder "modules" stores program modules:

  - "generator.pas" - algorithm of random mazes generation
  - "optimal_solver.pas" and "back_solver.pas" - algorithm of finding the shortest solution of a maze
  - "actions.pas" - procedures for interaction with user (mouse clicks, buttons) and auxiliary procedures for the interaction
  - "common.pas" - constants, variables, procedures and function, used by others modules

-----------------------------------------------------------------------------------------------------------------------------

Игра "Лабиринт" на языке Pascal:


- Программа запускается из главного файла "maze.pas"

- В папке "src" хранится игровая информация:

  - В файле "highscores.txt" хранится информация о текущих рекордах
  - Файл "backgroung.jpg" - обои в главном меню
  - Файл "maze_ico.ico" - значок для ярлыка скомпилированного приложения (устанавливается вручную)

  - В папке "mazes" хранится информация о сохранённых лабиринтах:
    - В файле "maze_amount.txt" хранится число - количество сохранённых лабиринтов
    - В файле "maze_list.txt" хранится список названий сохранённых лабиринтов
    - Остальные файлы - сохранённые лабиринты

- В папке "modules" хранятся программные модули:

  - "generator.pas" - алгоритм генерации случайного лабиринта
  - "optimal_solver.pas" и "back_solver.pas" - алгоритм поиска оптимального пути прохождения лабиринта
  - "actions.pas" - процедуры взаимодействия с пользователем (нажатие мыши, клавиш) и воспомогательные процедуры для взаимодействия
  - "common.pas" - константы, переменные, процедуры и функции, используемые другими модулями

maze's People

Contributors

alexanastasyev avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Forkers

retronick2020

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.