The Farmer was Replaced with LD7 - How Functions and Variables Make Programs Modular (EP2)
The Farmer was Replaced is a new indie farming automation game that utilizes python programming in a way that is approachable for non-programmers and satisfying for programming pros alike.
The game revolves around unlocking various plantable objects and upgrading their yields at the cost of the crops. Once you complete the tech tree you unlock the leaderboard and are able to reset your progress to try at improving your programs to be the most efficient possible.
If you are into idle/tycoon games and are interested in learning python programming in a fun way this game is great.
In this series we will be playing through the tech tree and providing a coding tutorial for the game. This is done not only to help guide players through the game, but also to help provide an example of how you could write a program to play the game. I know how to program in over 8 languages and currently utilize this knowledge in my work, so I hope that I can provide some insight into python programming for beginners. I am in no way the best programmer in the world so be sure to drop a comment if you know of a different or better way to do something in game. I always love to hear from my viewers on how to improve and the same goes for programming advice.
In this episode we unlock and discuss how to use variables and functions to create modular programs for our farm. We also unlock and discuss how watering works in game and show how to build an auto watering function/program in the game. We then proceed to utilize variables and functions to make our program to harvest Hay, Bushes/Wood, and Carrots more modular. By the end of the episode we produce several user defined functions that can be used going forward. We also produced a program that will plant an entire field to yield one resource up to a requirement and an additional program that plants a mix of all three crops in one field. At the end of the episode we improved our wood gathering program to plant a checkerboard of trees and bushes in any size field. Next time the plan is to unlock pumpkins and lists and then create a function that will plant and harvest pumpkins optimally, so please tune in. Enjoy the video and see you in the next one!
If you enjoyed the video be sure to drop a like and comment, and consider subscribing to my channel for similar automation, idle, tutorial gaming videos. If you want to support the channel further consider becoming a member or droping a super, it really helps and anyone who does will get one of my functions named after them in game.
If you want to check The Farmer was Replaced out it's available on steam and was quite affordable when I purchased the game (end of May 2024).
https://store.steampowered.com/app/2060160/The_Farmer_Was_Replaced/
Other Videos By Lone Debater7
Other Statistics
The Farmer Was Replaced Statistics For Lone Debater7
There are 7,985 views in 6 videos for The Farmer Was Replaced. His channel uploaded 2 hours worth of The Farmer Was Replaced videos, less than 0.64% of the total video content that Lone Debater7 has uploaded to YouTube.