Commit graph

27 commits

Author SHA1 Message Date
Emi Simpson 0d728f62bd
Merge branch 'main' into the-lab 2023-02-12 11:09:06 -05:00
Emi Simpson 2665f8ff98
Change sequence() to return a list 2023-02-12 11:08:30 -05:00
Emi Simpson df341496ea
Merge branch 'main' into the-lab 2023-02-11 23:59:37 -05:00
Emi Simpson 96e7a51ccc
Add unwrap_opt 2023-02-11 23:59:05 -05:00
Emi Simpson 057cc766ed
Add a function to save an actual image 2023-02-11 23:58:01 -05:00
Emi Simpson 3b56092319
Clean up 2023-02-11 23:56:53 -05:00
Emi Simpson c0d5d69309
Add a function to convert a map to raw image data 2023-02-11 22:19:37 -05:00
Emi Simpson 1fafbafc31
Add a function for pathfinding between multiple nodes 2023-02-11 21:27:49 -05:00
Emi Simpson 4c95e515e0
Basic pathfinding: Complete! 2023-02-11 17:08:26 -05:00
Emi Simpson 873d622d25
Add a goal function to the world 2023-02-11 12:20:53 -05:00
Emi Simpson c8080e8bc2
Add heuristic and neighbor functions for the world 2023-02-11 12:19:47 -05:00
Emi Simpson 3811e55711
Added an A* routing algorithm 2023-02-10 21:27:40 -05:00
Emi Simpson c3e5146029
Minor whitespace changes 2023-02-10 21:08:32 -05:00
Emi Simpson e55497b1cd
Add ability to load data from terrain map 2023-02-10 19:02:14 -05:00
Emi Simpson bfd93bd55b
Use simpler form for doctests 2023-02-10 16:35:01 -05:00
Emi Simpson e60a62a3df
Merge branch 'main' into the-lab 2023-02-10 16:34:56 -05:00
Emi Simpson 1c3558828d
Add in some doctests 2023-02-10 16:33:54 -05:00
Emi Simpson a5446551c2
Add imports 2023-02-10 16:33:00 -05:00
Emi Simpson 63eda6d69c
Add ability to read in elevation data 2023-02-10 14:50:34 -05:00
Emi Simpson 6577717cbf
Add a function replace() 2023-02-10 08:32:25 -05:00
Emi Simpson b13531aecf
Documentation! 2023-02-09 21:28:44 -05:00
Emi Simpson a018831a49
Scatter in some more functions 2023-02-09 20:46:55 -05:00
Emi Simpson 179198e59d
More utilities for options&results 2023-02-08 21:44:43 -05:00
Emi Simpson bdca0186da
Added option and result types 2023-02-08 21:32:24 -05:00
Emi Simpson b11f2fa8ea
Rename all_ to not be private 2023-02-07 17:01:46 -05:00
Emi Simpson 1e27ab5293
Improve use of ParamSpec 2023-02-07 17:01:31 -05:00
Emi Simpson adddc0704d
Some funky lil funktions 2023-02-07 11:59:55 -05:00