Jump to content

BosnianArmy

Registered
  • Content count

    143
  • Donations

    0.00 USD 
  • Joined

  • Last visited

Community Reputation

16 Getting There

About BosnianArmy

  • Birthday 06/11/97

Profile Information

  • Gender
    Male
  • Location
    The Netherlands
  • Interests
    Gaming, ICT, Football (soccer), fitness
  • Deathrun B3 ID
    0

Computer Specifications

  • CPU
    Intel Core i7-2630QM ~ 2.00 GHz
  • Motherboard
    ASUSTeK Computer Inc. K73SV
  • PSU
    Laptop Power
  • Video card
    NVIDIA GeForce GT 540M 1GB & Intel HD Graphics 3000
  • Memory
    6GB dual channel - DDR3
  • Mouse
    Razer Naga Molten Special Edition
  • Keyboard
    Laptop keyboard
  • Headset
    Philips SHP-2000
  • Microphone
    Logitech Desktop Microphone
  • Monitor
    Laptop screen
  • Cooler
    Laptop cooler
  • Hard drives
    Seagate 500GB ST9500325AS (SATA)
  • OS
    Windows 10- Education 64 bits Version

Recent Profile Visitors

1168 profile views
  1. Where is everyone!?

    So what is the name of the Imaginary person?
  2. Where is everyone!?

    Yes this community and other communities that still excist. But newer generation? Not that easy/quick.
  3. Where is everyone!?

    Because the group that used to play when COD4 and Deathrun was popular back in around 2011 are now getting older and are busy with life carreer (think of school etc). And the game it self is pretty much old now.
  4. Python programming

    Hello there folks, long time no speak/topic/forum? Anyways, I've been studying here and there with school and currently I am learning to program with Python at school and home. Beside Python I study also networking (subnetting and Cisco stuff), Server managing, etc. But we are here for the Python help. The main subject for this little project is that I want to make a small "guessing game" as training. How the game works: The game starts with a small storyline and then the program asks how many seconds you need to think for the number that you're about to guess it. After putting the number, the program starts to countdown with a live timer. But the problem is, the program stays with the live timer, doesn't continue with the rest of the code which I'm itching about it how to fix that. But once this is fixed the game should start, you need to guess the number with only 2 guesses (or lifes how ever you see it). For now I am using greater than and less than function to see if this would work when you enter the right or false number. But seems like what ever number you put in, it will see as a "positive" answer. But it should be that the answer is good or false, good leads of course to you've won the game and false leads to the second guess and from the second guess leads to, Game Over. So here is my code to those who want's to see it: #Print() = print something #Integer() = whole numbers --> 5 #Floats = numbers after the comma --> 5.0/5,0 #Strings "" = text --> "Hello World" #Input() = a user can type something in it # ######################################################################### #Introduction storyline a = "Welcome! Press \"Enter\" to start the game" print(a) input() #this should be empty, this leads to the variable "a" from the first line of the code ---> Press enter to start the game print("First.. a story") print("Once there was a legend that could guess a number without hesitating, but is that legend true, are you the legend? Let's find out!\n") #timer before the game starts import time while True: uin = input(">>How many seconds do you need to guess? Enter here: ") try: when_to_stop = abs(int(uin)) except KeyboardInterrupt: break except: print("Not a number!") while when_to_stop > 0: m, s = divmod(when_to_stop, 60) h, m = divmod(m,60) time_left = str(h).zfill(2) + ":" + str(s).zfill(2) print(time_left + "\r", end="") time.sleep(1) when_to_stop -= 1 print() #Core code b = float (input("Guess your number from 0 to 100:")) c = 3 ** 2 d = c == 9 if d > 9: print("You guessed wrong!\n") else: print("One more chance:") if d < 9: print("You guessed wrong!\n") else: print("Game Over!") Thanks for reading and helping :)
  5. What song are you listening to?

    Enjoy the list :) , tell me which one you like the most and if you like the list :)
  6. What song are you listening to?

    This song is fk*ng amazing More awesome songs:
  7. Homework Help

    That's why :P But I think it's quite easy once it's learned like any other math.
  8. Homework Help

    You mean VMBO and now I do MBO-4 So I guess you are doing HAVO or VWO now.
  9. Homework Help

    Thank god we don't have Algebra..
  10. What song are you listening to?

    Old but gold :)
  11. What song are you listening to?

    Good song :)
×