Skip to content

danielSeSa/Python-Life-Simulator_Game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 

Repository files navigation

Python Game (Life Simulator)

A simple life simulation game developed using Pygame in Python. In this game, you manage a character from birth to death, making important decisions about education, career, relationships, and daily activities.

Project Status

Note: This game is currently in the early stages of development and is not complete. Many features are not yet implemented or need improvement. The current goal is to create a solid foundation for future development.

Current Features (Limited)

  • Character creation with a custom name and gender.
  • Year-by-year aging system.
  • Simple random events throughout life.
  • Ability to choose an educational path (elementary, middle school, high school, and deciding to go to university).
  • Ability to choose a university major (if attending university).
  • Job System:
    • Search for part-time and full-time jobs (with and without degree requirements).
    • Receive annual or hourly wages.
    • Ability to resign from a job.
    • Job-related events like promotions or firings (simplified).
  • Assets System:
    • Buy different houses and cars.
    • Pay annual maintenance costs.
  • Activities System:
    • Perform various activities like going to the gym, reading a book, gambling, committing petty crime, etc.
    • Each activity has different effects on the character's stats (health, happiness, smarts, looks, money).
    • Learn new skills.
  • Relationships System:
    • Interact with parents.
    • Find a partner and get married.
    • Try for a baby.
  • Character Stats: Health, happiness, smarts, looks, and money.
  • Display of important messages and events during the game.
  • Game over screen with a summary of the character's life.
  • Simple graphical user interface using Pygame.

How to Run

  1. Ensure Python (version 3.x) is installed on your system.
  2. Install the Pygame library:
    pip install pygame
  3. Run the PythonLifeGameSimulator.py file (or whatever name you've chosen for the main game file) with Python:
    python PythonLifeGameSimulator.py

Requirements

  • Python 3.x
  • Pygame

Hope you enjoy this life simulator (even in its current, incomplete state)!


Python Game (Life Simulator)

یک بازی شبیه‌ساز زندگی ساده که با استفاده از Pygame در پایتون توسعه داده شده است. در این بازی، شما یک شخصیت را از بدو تولد تا مرگ مدیریت می‌کنید، تصمیمات مهمی در مورد تحصیل، شغل، روابط و فعالیت‌های روزمره می‌گیرید.

وضعیت پروژه

توجه: این بازی در حال حاضر در مراحل اولیه توسعه قرار دارد و کامل نیست. بسیاری از ویژگی‌ها هنوز پیاده‌سازی نشده‌اند یا نیاز به بهبود دارند. هدف فعلی، ایجاد یک پایه محکم برای توسعه‌های آینده است.

ویژگی‌های فعلی (محدود)

  • ایجاد شخصیت با نام و جنسیت دلخواه.
  • سیستم افزایش سن سال به سال.
  • رویدادهای تصادفی ساده در طول زندگی.
  • امکان انتخاب مسیر تحصیلی (دبستان، راهنمایی، دبیرستان و تصمیم برای رفتن به دانشگاه).
  • امکان انتخاب رشته دانشگاهی (در صورت رفتن به دانشگاه).
  • سیستم شغل:
    • جستجو برای مشاغل پاره‌وقت و تمام‌وقت (با و بدون نیاز به مدرک).
    • دریافت حقوق سالانه یا ساعتی.
    • امکان استعفا از شغل.
    • رویدادهای مربوط به شغل مانند ترفیع یا اخراج (ساده‌سازی شده).
  • سیستم دارایی‌ها:
    • خرید خانه و ماشین‌های مختلف.
    • پرداخت هزینه‌های نگهداری سالانه.
  • سیستم فعالیت‌ها:
    • انجام فعالیت‌های مختلف مانند رفتن به باشگاه، خواندن کتاب، قمار، ارتکاب جرم کوچک و غیره.
    • هر فعالیت تأثیرات متفاوتی بر وضعیت شخصیت (سلامتی، شادی، هوش، جذابیت، پول) دارد.
    • یادگیری مهارت‌های جدید.
  • سیستم روابط:
    • تعامل با والدین.
    • پیدا کردن شریک زندگی و ازدواج.
    • تلاش برای بچه‌دار شدن.
  • آمار شخصیت: سلامتی، شادی، هوش، جذابیت و پول.
  • نمایش پیام‌ها و رویدادهای مهم در طول بازی.
  • صفحه پایان بازی با نمایش خلاصه زندگی شخصیت.
  • رابط کاربری گرافیکی ساده با استفاده از Pygame.

نحوه اجرا

  1. اطمینان حاصل کنید که پایتون (نسخه ۳.x) روی سیستم شما نصب شده باشد.
  2. کتابخانه Pygame را نصب کنید:
    pip install pygame
  3. فایل PythonLifeGameSimulator.py (یا هر نامی که برای فایل اصلی بازی انتخاب کرده‌اید) را با پایتون اجرا کنید:
    python PythonLifeGameSimulator.py

امیدوارم از این شبیه‌ساز زندگی لذت ببرید (حتی در وضعیت فعلی و ناقص آن)!

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages