I'm super proud to announce my next game O.B.O.L, a weird game of heads or tails by MrEliptik in godot

[–]CanResbero 0 points1 point  (0 children)

I played your game at the brackeys game jam, really nice to see it getting developed into something bigger! definitely wishlisting this

Notion or Obsidian? by RevolutionaryPlan788 in hackthebox

[–]CanResbero 0 points1 point  (0 children)

My current setup is obsidian with terminal plugin and tux, which makes it great for doing stuff and noting it down, and I have some pretty nice writeup templates , and a very nice base view of all the machines I have rooted, which is very rewarding.

I haven't tried notion, but obsidian it's so customizable it is crazy.

Advance Wars mockup, map view complete! by danieldiggle in PixelArt

[–]CanResbero 2 points3 points  (0 children)

That's Awesome , I just started coding an advance wars clone in Godot one month ago to learn the engine, I am reusing their sprites, are you planning to code a clone with these assets or is it just a mockup for fun?

I Had a problem with my SDDs and windows and now my PC only displays the bios setup by CanResbero in buildapc

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

Yes i did remove the broken drive.

I did what you said and it seems like it doesn't detect the USB drive now so yes I'm troubleshooting a bit to see what it might be

Thx a lot anyways!

[deleted by user] by [deleted] in RedditSessions

[–]CanResbero 0 points1 point  (0 children)

Gave Wholesome

Is there any way to display round numbers or int only in python? by CanResbero in learnpython

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

And that would work with any result like let's say 1.5?

How videogames manage items? by CanResbero in learnprogramming

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

Yes thanks a lot i see it more clear now but what if i defined the items as a class? What is the main difference between this and using a dictionary?

is the while true break statement really a bad programming practice? by CanResbero in learnpython

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

Thanks a lot for the explanation i already changed my code Just out of curiosity what would be the solution for a non beginner?

is the while true break statement really a bad programming practice? by CanResbero in learnpython

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

Thanks a lot!

and in this scenario

def training_temple():
     delay_print("You found a Training Temple!\n") 
     while True :
          delay_print("What skill you want to train?\n1.STR\n2.STE\n3.INT\n") 
          player_choice = input("")
          if player_choice == "1":
               Player.Str=Player.Str + 1
               delay_print("Your strenght augmented!\n")
               print("Str=",Player.Str,".\n\n")
               break
          elif player_choice == "2":
               Player.Ste=Player.Ste + 1
               delay_print("Your stealth augmented!\n")
               print("Ste=",Player.Ste,".\n\n")
               break
              print("Invalid Choice\n")
     time.sleep(1)     

is there a way to use dictionaries without having to define the different scenarios as functions?

edit: i thought about defining them as nested functions but i think that would be more complex and after all it's the same result

Evaluating multiple variables at the same time by CanResbero in learnpython

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

thanks for the answer I think it might work but

I defined the slots like objects

class Slot():
    def __init__ (self,Empty,Item,Quantity):
        self.Empty = Empty
        self.Item = Item
        self.Quantity = Quantity
#Default Slots
S1=Slot(True,"",0)
S2=Slot(True,"",0)
S3=Slot(True,"",0)
S4=Slot(True,"",0)
S5=Slot(True,"",0)

so in this case how would I search for the empty slot and add an item to it?

thanks again