Skip to content

Python-based farming simulator inspired by Stardew Valley. Educational project built with Pygame following Clear Code's tutorial. Features crop planting, tool usage, and character movement systems.

Notifications You must be signed in to change notification settings

jhenry77/SDV-Python-Clone

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SDV-Python-Clone: Stardew Valley Inspired Farming Simulator

Overview

SDV-Python-Clone is a Python-based farming simulation game inspired by the popular title Stardew Valley. This project was created as a learning exercise by following Clear Code's Pygame tutorial to improve my Python programming skills and understand game development fundamentals.

Through this guided implementation, I gained hands-on experience with:

  • Python and Pygame framework
  • Object-oriented programming principles
  • Game loop structure and state management
  • Sprite animation and rendering techniques
  • User input handling and game mechanics

Features Implemented

This learning project includes the following features:

  • Player Controls: WASD movement system with character animations
  • Tool System: Functional farming tools including hoe, axe, and watering can
  • Farming Mechanics: Basic crop planting and watering functionality
  • Multiple Crop Types: Implementation of corn and tomato growth cycles

Installation & Requirements

  1. Ensure Python 3.8+ is installed on your system
  2. Install required dependencies:
    pip install pygame
    
  3. Clone this repository:
    git clone https://github.com/yourusername/SDV-Python-Clone.git
    cd SDV-Python-Clone
    

How to Play

  1. Navigate to the code directory:
    cd code
    
  2. Run the game:
    python main.py
    

Controls

  • Movement: WASD keys
  • Tool Selection:
    • 1 - Hoe (prepare soil for planting)
    • 2 - Axe (clear debris and obstacles)
    • 3 - Watering Can (water crops to promote growth)
  • Seed Selection:
    • 4 - Corn seeds
    • 5 - Tomato seeds

Learning Outcomes

By completing this tutorial project, I developed skills in:

  • Following and adapting coding tutorials to build functioning software
  • Understanding game development concepts and architecture
  • Debugging and problem-solving in Python
  • Working with external libraries (Pygame)
  • Implementing basic game mechanics and systems

Acknowledgments

  • This project follows Clear Code's Pygame tutorial
  • Original game concept inspired by ConcernedApe's Stardew Valley
  • All code was implemented as a learning exercise while following the tutorial

Personal Modifications

While following the tutorial, I made the following adjustments:

  • [Modified prices to be easier to start]
  • [Modified control scheme for better usability]

This project is for educational purposes only and is not affiliated with or endorsed by ConcernedApe or Stardew Valley.

Contact

For inquiries about this project or employment opportunities, please contact:

Jackson Henry | LinkedIn | Portfolio

About

Python-based farming simulator inspired by Stardew Valley. Educational project built with Pygame following Clear Code's tutorial. Features crop planting, tool usage, and character movement systems.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages