Code Monkey home page Code Monkey logo

csewi24202-proj's Introduction

CSE202WI24-proj

This is a project repo for CSE202, winter 2024.

We focus on solving pathfinding problems in Minecraft, a well-known sandbox game.

Benchmark

credit: Yuchen, https://github.com/DuckDuckWhaleUCSD

The Minecraft map data is under the benchmark folder. We have a manually designed simple which consists of 11 blocks, and four other benchmarks bridge, road, skyblock, superflat imported from real Minecraft maps by using a custom Minecraft client. The client prefers not to be open-sourced and thereby not presented here.

Example

simple bridge road skyblock superflat
simple bridge road skyblock superflat

Stateful A* pathfinding

credit: Dawei Guo, https://github.com/MronakX

The modified A* algorithm with resource constraint is implemented in stateful-pathfind.ipynb, where we also implemented a baseline ordinary A* algorithm.

Modify the following line to whatever benchmark you want to test. Also, customize the starting point and goal point to adapt the data.

world_txt_filename = 'benchmark/superflat/world-dump.txt'

Path Example (on x-y plane)

Simple
A* Stateful A*
superflat
A* Stateful A*

Realtime update

credit: Yulin Liu Yulin Liu's github page

We implement a mimic "real-time update" in RealTimeGraph class in real_time_builder.py and test cases in plot_path.py

Results:

bridge skyblock
super flat super flat

csewi24202-proj's People

Contributors

mronakx avatar liuyulinn avatar xuan-wang-summer avatar yangyy06 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.