Go bite into your ice cream, because this terminal will melt your brain (teehee). I wrote this terminal in python as a mini project to help me code, but I hope one day I can turn it into something serious. ANYWAYS, here's some screenshots:
It can also run games with its very own gm command. The only built-in game is hangman (ran by typing in "gm hangman.py" in the console).
NOTICE: THIS USES PYTHON 2.7
Welp, go ahead and download it if you want at
this thingy website
Love you guys!
Himehowareu made something like this called Pyterm and I made JTerm together we are making JyOS using the Linux kernel and jython and some other stuff.
At least upload all the files in konix zip to github. Don't just link it to a mediafire download page or else that's a waste of a repository.
NOT AN OS! update your page on your github. its a Terminal or Command line
is this an actual os or just an app for windows (or any other os)?
Hangman:
Why do you have the hangman game code in a while loop controlled by a variable changed at the end of the game? You should just have "while True", and if the player chooses not to play again it runs exit(), like this:
Code:
option = None
while True:
#Ur sexy code here
while option != "Y" and option != "N":
option = str(raw_input("Would you like to continue? [Y/N] "))
if option.upper() == "N":
exit()
elif option.upper() != "Y" and option.upper() != "N":
print "Not an option!"
else:
break
(01-02-2014, 02:57 AM)Malcolmforde Wrote: [ -> ]Hangman:
Why do you have the hangman game code in a while loop controlled by a variable changed at the end of the game? You should just have "while True", and if the player chooses not to play again it runs exit(), like this:
Code:
option = None
while True:
#Ur sexy code here
while option != "Y" and option != "N":
option = str(raw_input("Would you like to continue? [Y/N] "))
if option.upper() == "N":
exit()
elif option.upper() != "Y" and option.upper() != "N":
print "Not an option!"
else:
break
Too smart. I would literally make one loop like this and another like snug did because I'm a derp
(01-02-2014, 03:09 AM)AFtExploision Wrote: [ -> ] (01-02-2014, 02:57 AM)Malcolmforde Wrote: [ -> ]Hangman:
Why do you have the hangman game code in a while loop controlled by a variable changed at the end of the game? You should just have "while True", and if the player chooses not to play again it runs exit(), like this:
Code:
option = None
while True:
#Ur sexy code here
while option != "Y" and option != "N":
option = str(raw_input("Would you like to continue? [Y/N] "))
if option.upper() == "N":
exit()
elif option.upper() != "Y" and option.upper() != "N":
print "Not an option!"
else:
break
Too smart. I would literally make one loop like this and another like snug did because I'm a derp
But there is a problem with it.
"option = None" needs to be in the loop too. Just noticed that.