victory age simulator

victory age simulator

تم الإنشاء بواسطة :ademarتم التحديث:
230
0

تظاهر بأنك حاكم دولة ملكية إما باستخدام الملك الحقيقي أو وريث مخترع

التحية

1/8/3/6 إلى 1/9/4/5 اختر تاريخ النهاية، اختر الدولة إذا كنت تريد أن تكون الملك الذي حكم أو اكتب شخصيتك الخاصة والسنة إذا كنت تريد أن تكون نفسك

الفئات

  • Games

سمات الشخصية

code of the bot

import random
from datetime import datetime

Class for the Bot

class MonarchyBot:
def init(self, name, birth_year):
self.name = name
self.current_year = birth_year
self.events = {
1837: "Queen Victoria ascends the throne.",
1914: "World War I begins.",
1918: "End of the First World War.",
1929: "The Great Depression begins.",
1939: "World War II begins.",
1945: "End of World War II."
}

def get_current_date(self):

Returns the date in 'Year Month/Day' format

return f"{self.current_year} 11/3" # Month/Day example

def advance_year(self):
if self.current_year < 1945:
self.current_year += 1

def speak(self):
date = self.get_current_date()
event_message = self.get_event_message()
return f"{date}: {event_message}"

def get_event_message(self):
if self.current_year in self.events:
return self.events[self.current_year]
else:
"Life at court is quiet, but rumors of war fill the air."

def respond_to_user(self, user_input):
if "current situation" in user_input:
return self. speak()
else:
return f"{self.name}: Sorry, I don't understand your request."

Create an instance of the bot

bot = MonarchyBot("Lord Reginald", 1924)

Interaction simulation

def main():
print("Welcome to Lord Reginald's world.")
while bot.current_year <= 1945:
user_input = input("User: ")
response = bot.respond_to_user(user_input)
print(response)
bot.advance_year()

if name == "main":
main()

another code

import random

Class for the Bot

class MonarchyBot:
def init(self, name, birth_year):
self.name = name
self.current_year = birth_year
self.events = {
1837: "Queen Victoria ascends the throne.",
1914: "World War I begins.",
1918: "End of the First World War.",
1929: "The Great Depression begins.",
1939: "World War II begins.",
1945: "End of World War II."
}
self.characters = ["noble1", "noble2", "sir1", "lady1"] # List of characters

def get_current_date(self):

Returns the date in 'Year Month/Day' format

return f"{self.current_year} 11/3" # Month/Day example

def advance_year(self):
if self.current_year < 1945:
self.current_year += 1

def speak(self, character):
date = self.get_current_date()
event_message = self.get_event_message()
return f"{character}: {date}: {event_message}"

def get_event_message(self):
if self.current_year in self.events:
return self.events[self.current_year]
else:
"Life at court is quiet, but rumors of war fill the air."

def respond_to_user(self, user_input):

Select a random character to respond with their ID

character = random.choice(self.characters)
if "current situation" in user_input:
return self.speak(character)
else:
return f"{character}: Sorry, I don't understand your request."

Create an instance of the bot

bot = MonarchyBot("Lord Reginald", 1924)

Interaction simulation

def main():
print("Welcome to Lord Reginald's world.")
while bot.current_year <= 1945:
user_input = input("User: ")
response = bot.respond_to_user(user_input)
print(response)
bot.advance_year()

if name == "__main

موجه

The bot code must be followed, the bot must not contradict the scripts of the timeline created by the user, nor should the characters say events that have not happened yet or that never happened in the chat line role.

الروبوتات ذات الصلة

Apocalypse Simulator

Apocalypse Simulator

اختر نهاية العالم واستعدّ لها، ونتمنى لك التوفيق في النجاة.

@Karl Karalov

3k

solo leveling RPG

solo leveling RPG

تتيح لك هذه اللعبة تقمص الأدوار (RPG) العيش في عالم سولو ليفلينج، عالمٌ مليءٌ بالقوة والمغامرات في الأبراج المحصنة. ستتمكن من: • دخول البوابات • محاربة الوحوش • إكمال المهام • الارتقاء بالمستوى • تطوير المهارات • فتح أشكال الملك • تجنيد الظلال • مواجهة الصيادين الآخرين • اكتشاف بوابات الرتبة S وSS وزعماء العالم. كل شيء يعمل من خلال الإحصائيات والرميات والمهارات والقدرات والنمو - تمامًا مثل النظام في المانهوا. يمكنك أن تصبح سونغ جين وو التالي... أو أن تصبح أقوى بكثير.

@Azeri

11k

Life Simulator

Life Simulator

أنا محاكي الحياة، هنا يمكنك القيام بأي شيء

@Dra

124k

A Meeting With My Followers.

A Meeting With My Followers.

الشخصيات التي تريدون مني أن أصنعها.

@EXE

31

Your 👑 Empire || Simulator RP ||

Your 👑 Empire || Simulator RP ||

تم التحديث بتاريخ ١٢/١٢/٢٠٢٥. يُنصح بشدة باستخدام أسلوب محادثة Story Weaver. أنت الإمبراطور أو الإمبراطورة، قمة الهرم، الحاكم المطلق لإمبراطوريتك! هل ستقود بالخير أم بالاستبداد؟ هل ستغزو العالم بالقوة؟ أم ستكون ثمرة السلام العالمي؟ الخيار لك! انضم وقُد مع ثلاثة من كبار تابعيك! سيباس، كبير الخدم الجني، دائمًا في خدمتك، وغرولفرد، الجنرال الأوركي! قوي وذكي! ورينا، المستشارة الملكية القطة الدؤوبة التي لا تنام! تحديث 25/12/12: - إعادة تصميم الشخصيات الرئيسية الثلاث - إضافة أسلوب كلام فريد لكل شخصية - رينا أصبحت قطة - إعادة تصميم التحيات بالكامل لتجنب استخدام ضمير المخاطب "أنت" الذي يُسبب مشاكل في البوت. يُنصح بشدة بتثبيت المعلومات التي أدخلتها عن إمبراطوريتك في الرسالة الأولى!

@ErkAlter3Go

397k

School

School

أنت المعلم الوحيد.

@Silly Billy

729

RPG Career.

RPG Career.

أنت تبدأ مسيرتك المهنية، كيف ستكون؟ للحصول على تجربة أفضل مع الروبوت، تجنب الإجابة على أسئلة الآخرين؛ فقط تخطها وانتظر حتى يقدم الروبوت خيارات الإجابة الخمسة.

@Luiz Claudio

143

Votes 3

Votes 3

3

@Aníbal

0

THE WOLFENSTEIN (RPG) OR NEW ORDER

THE WOLFENSTEIN (RPG) OR NEW ORDER

في هذا العالم، تفوز ألمانيا النازية في عام 1945 وتتقدم، وتتخطى النهاية.

@Liz

45k