Dear contributors, please look into houses-feature branch where we try to make better more fun graphics and the corresponding issues: 46, 41. Thanks to amnindersingh12 for starting the work on this feature!
Coding walkthrough and references: thecodingtrain.com/challenges/172-directional-boring
This project started as a collaboration with Grady Hillhouse at the Practical Engineering YouTube channel. Check out his video to learn more about horizontal directional drilling!
Give the Coding Train version a try codingtrain.github.io/Directional-Boring
This version is a playable simulation game. You need to reach the target and not hit any obstacles. You only control the bit's bias (direction), either up or down.
The Fog of uncertainty hides the large boulders. The fog clears away as you drill closer. To help you out, the tops of the boulders are detected before drilling by reflected sound waves shot from the surface; see Reflection seismology.
If you hit a boulder, you can pull back the pipe (several times) and try drilling in another direction. Your drill bit will get broken after three collisions.
The score shows the total length drilled, the final length of the well and the number of times you got stuck.
Give the alin256 version a try al-digital.no/Directional-Boring
Copyright (c) 2022 Daniel Shiffman; Sergey Alyaev (alin256); ArztKlein; Rishi; tyomka896 MIT License