Code Monkey home page Code Monkey logo

wave-algorithm's Introduction

wave-algorithm

Реализация волнового алгоритма

  1. Генератор карт - Артур
  • 1.1 статическая
  • 1 - вход
  • -2 - выход
  • -1 - стенка

int[][] getMap()

-1 -1 -1 -1 -1 -1
-1 -2 0 0 0 -1
-1 -1 -1 -1 0 -1
-1 0 0 0 0 -1
-1 1 0 0 0 -1
-1 -1 -1 -1 -1 -1

int[][] generateMap (int width, int height)

  • 1.2 автогенерация карт
  • 1.3 загрузка карт из файла
  1. Печать карты в "сыром" виде - Александр
  • 2.1 терминал String printMap(int[][])
  • 2.2 принтер
  • 2.3 сторонний сервис (api)
  1. Печать карты в терминал красиво - Антон String PrintPretty(int[][])

  2. Раскраска карты - Сергей void colorize(int[][] map)

  • 4.1 установка котика
  • 4.2 выходы
  • exit - координаты (X, Y)
  • int[][] findExits()
  1. Поиск кратчайшего пути к выходу - Роман int[][] getShortWay(int[][] map, String exit)
-1 -1 -1 -1 -1 -1
-1 -2 9 8 7 -1
-1 -1 -1 -1 6 -1
-1 2 3 4 5 -1
-1 1 2 3 4 -1
-1 -1 -1 -1 -1 -1

wave algorithm

wave-algorithm's People

Contributors

blackm1n avatar evercrow avatar excitaitoone avatar lexxx42 avatar oilman007 avatar

Stargazers

 avatar  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.