Code Monkey home page Code Monkey logo

pathfinding-robots's Introduction

pathfinding-robots

GitPack standard-readme compliant Hits

Simple terminal game with pathfinding

This project was created during the first semester of my bachelor's studies within a programming course. It uses a very simple pathfinding implementation and demonstrates it on a robot-chasing game with intuitive terminal controls. It is provided in its original form with some small modifications.

First, it generates a two dimensional world of free fields and barriers. Free fields always create a connected graph so that robots can move to any free field. When the world is generated, you can take a look at it. After, you can start the world simulation and robots will start to move. When the simulation ends, you can browse historical path of each robot.

Table of Contents

Install

This project supports GitPack. Local installation/update:

gitpack install github.com/dominiksalvet/pathfinding-robots

Dependencies

  • Python 3

Usage

To run the game, execute the pathfinding-robots.py command. Then type a number based on the current options and press the enter key. Feel free to take a look at the example below and get inspired.

Example

pathfinding-robots example

Contributing

Do you want to contribute? Do you have any questions? Then the CONTRIBUTING.md file is here for you.

License

This project is licensed under the MIT License.

pathfinding-robots's People

Contributors

dominiksalvet avatar

Stargazers

 avatar

Watchers

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