This is my second risk game, even though it doesn't look like one. I first got to idea from @Name12 's Fight the gods. I then added some risk to it and added some colours
If you don't want to see the demo, read the paragraph below. Rules:
Kronos talks to you in your sleep and tells you that if you defeat all the Olympians, he will make you the second most powerful person in the world (him being the first person).
You agree to what he says and set on a quest to defeat all the Olympians.
Credits:
Thanks to @BobTheTomatoPie for the help with the colours. It really helped me.
Thanks to @SpaceFire for helping me with the code.
If you find an error, please tell me. If you want me to collab with me, want me to make a game for you, or have any ideas for the next risk game, text me on discord: VulcanWM#5256 It's best to play in full screen
When you defined the function slowprint, which uses the time.slow() function, and sys, which uses the sys.dout.flush() function to make it look animated (and nice).
You called it in each line when you were displaying something (print) Why? Is it becuz there isn’t any way to call it one, and it’ll apply for the whole program
This is my second risk game, even though it doesn't look like one. I first got to idea from @Name12 's Fight the gods. I then added some risk to it and added some colours
If you don't want to see the demo, read the paragraph below.
Rules:
Credits:
If you find an error, please tell me. If you want me to collab with me, want me to make a game for you, or have any ideas for the next risk game, text me on discord: VulcanWM#5256
It's best to play in full screen
@VulcanWM isn’t there a way to slow print/ flush. Without calling it in each step?
wdym? @dillonjoshua68
@VulcanWM ... after importing sys and time
When you defined the function slowprint, which uses the time.slow() function, and sys, which uses the sys.dout.flush() function to make it look animated (and nice).
You called it in each line when you were displaying something (print)
Why? Is it becuz there isn’t any way to call it one, and it’ll apply for the whole program
I haven't done it, but maybe @dillonjoshua68
Cool @VulcanWM , and great game btw
@VulcanWM btw, I learnt the sys.stdout.flush() function from u, thanks
Thanks @dillonjoshua68
Your welcome @dillonjoshua68
@VulcanWM btw what does os module compose of (in this program), and what are their uses? (U can answer anytime)
I use os.system(“clear”) to clear the screen @dillonjoshua68
@VulcanWM also, what does clearing the screen do? Benefits?
Just gives you more space I guess @dillonjoshua68
Thanks @VulcanWM
I’ll just upload one pic for your reference... cuz there’s apparently 2 red’s in you program (Red and red)

@VulcanWM
Btw, fg is foreground (letters get colored) and bg is background (pretty much like a highlight) @VulcanWM
One red is darker than the other one, I don’t know which ones @dillonjoshua68
The pic should tell @VulcanWM
It signifies (light red) and red (normal) @VulcanWM