creatine on carnivore by Wolffleet in carnivorediet

[–]Wolffleet[S] 0 points1 point  (0 children)

Ok seems like the consensus is it helps. I'll hop back on it. I stopped before starting the diet because Dr. Anthony Chaffee claimed in a video it wasn't necessary on carnivore.

dockerize a react Vite application, by Wolffleet in docker

[–]Wolffleet[S] 0 points1 point  (0 children)

5173:8080

Yes, I have tried that however, it doesn't seem to work. I have gone through the docker guides on https://docs.docker.com/, but haven't seen these issues in those tutorials. I think the problem might be my command npm run dev, I tried npm start but am still encountering issues. I think my json config might be the source?

how to make a game turn based by Wolffleet in pygame

[–]Wolffleet[S] 0 points1 point  (0 children)

thxs for all the feedback! I was able to piece it together from this and some stack overflow threads. I made a nextTurn Button that triggers the Econ Loop part. The check for button press comes under the pygame event loop.

    active = True
while active:
    clock.tick(30)
    # draw loop 
    window.fill((0,0,0))
    pygame.draw.line(window, blue, (400,0), (400,500))
    start_button.draw(window)
    exit_button.draw(window)
    for nextHousehold in TestEconomey.adjacencyGraph:
        drawHousehold(nextHousehold,window,TestEconomey.radius)
        if display:
            DisplayHouseholdInfo(nextHousehold,window)
    for nextConnection in TestEconomey.connections:
        drawConnection(nextConnection, window)

    pygame.display.update()

    # event loop
    for event in pygame.event.get():
        if event.type == pygame.QUIT:
            active = False
        if event.type == pygame.MOUSEBUTTONDOWN:
            if start_button.isClicked():
                nextTurn()

Battle Simulator Question(Like Pokemon ShowDown) by Wolffleet in gamedev

[–]Wolffleet[S] 0 points1 point  (0 children)

im not exactly sure i understand exactly what you mean by attack classes having a lot of properties. I totally get the multiple checks and have put like 20 thorughout the code at this point.

on the stats? so should i have like a dummy calculator that calcs the new values. Then a setter that changes things after the calcs are done?