Share your repls and programming experiences

← Back to all posts
Rise Kronos Rise
VulcanWM (1986)

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:


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

Commentshotnewtop
DynamicSquid (2666)

Kronos talks to you in your sleep

...

So that's the voice inside my head!!

VulcanWM (1986)

I'm making a part 2, what do you think? @DynamicSquid

DynamicSquid (2666)

@VulcanWM pretty good! what's part 2 going to be about?

VulcanWM (1986)

I changed the ending a bit, Kronos betrays you and teleports you to Rome. You fight the emperor and try to conquer an the land to get a army @DynamicSquid

DynamicSquid (2666)

@VulcanWM oh that should be interesting

LTI2 (38)

@DynamicSquid wait you have a voice inside your head

VulcanWM (1986)

I mean most people do, don't you? @LTI2

LTI2 (38)

@VulcanWM really? okay then.

NOUSERNAMEHI (21)

All your games are epic! But I just feel that I liked Diamond Risk better than this!

VulcanWM (1986)

Thanks. What do you think I should do to make this better? @NOUSERNAMEHI

NOUSERNAMEHI (21)

Maybe you could add some gadgets or something @VulcanWM

VulcanWM (1986)

Ok, I'll try and implement them in the updates @NOUSERNAMEHI

HELLOCODING (17)

Nice! I love all your games! I'm not a bot to anyone who said that!

Dadbont (1)

I won the first 4 rounds without hit!

epicman702 (187)

Demeter finished you off with wheat

minecraft engage

ASdev (5)

Awesome! That is a really cool program! It is cool how you added fonts and letters. I never knew how to do that! Nice job!

VulcanWM (1986)

@DannyIsCoding taught me how to do the colours @BobTheTomatoPie taught me how to use the highlighting
@ASdev

EDKTHEPRO (16)

Did Percy Jackson inspire this?

VulcanWM (1986)

Maybe. It's true I'm a fan of Percy Jackson, and the player would kind of be like Luke. @EDKTHEPRO

EDKTHEPRO (16)

@VulcanWM Uh... In my opinion, I don't like Luke. I like Percy

VulcanWM (1986)

At the end, Luke was a nice guy. He died a hero. But after reading Heroes of Olympus, I’ve started liking Reyna @EDKTHEPRO

EDKTHEPRO (16)

@VulcanWM Nah, I like Leo and Jason

VulcanWM (1986)

Leo is funny, it’s sad what happened to Jason, if you get what I mean @EDKTHEPRO

EDKTHEPRO (16)

@VulcanWM Yeah, I know. He DIED, sadly, in Trials of Apollo.

EDKTHEPRO (16)

@VulcanWM And, Leo can CONTROL fire! IT'S AMAZING

VulcanWM (1986)

It was literally so sad, I nearly cried. I am waiting for the last Trials of Apollo book @EDKTHEPRO

VulcanWM (1986)

Leo reminds me of some guy in the tv series ‘The Hollow’
@EDKTHEPRO

EDKTHEPRO (16)

@VulcanWM Oh, I finished the series... Is there a new one coming out?

EDKTHEPRO (16)

@VulcanWM I mean for trials of apollo

VulcanWM (1986)

The last book in the Trials of Apollo: The Tower of Nero. It is going to come out in August or September @EDKTHEPRO

VulcanWM (1986)

Then Rick Riordan might stop writing @EDKTHEPRO

EDKTHEPRO (16)

@VulcanWM Oh! :D YAY I wonder if Percy will be in it... He's my DEFINITE favorite, like, boy... HE CAN CONTROL WATER

VulcanWM (1986)

It’s about the Romans and the Greeks fighting Nero @EDKTHEPRO

VulcanWM (1986)

He has started a company which writes books, so he might stop writing. It’s called Riordan presents or something @EDKTHEPRO

EDKTHEPRO (16)

@VulcanWM Oh, but that still doesn't mean HE has to stop tho...

ikos (2)

@EDKTHEPRO yeah, trials of Apollo was started along w/ Rick Riordan presents, so more might be written.

Cestnoir (2)

The game is superb. But, when the god attacks and player chooses to boost the score of player should not increase , but in the game it is increasing.(a small glitch probably) By the way, thumbs up for the effort.

Name12 (72)

hello, it's me, @name12 I am thinking of doing a project with you together. should we?? and by the way, awesome project!!! one of the best I have seen!!

VulcanWM (1986)

Yeah sure. I’m working on a project right now, so it would be nice to have a change. @Name12

Name12 (72)

@VulcanWM OK. let's talk about it on discord.

ellisbenm (0)

Such a cool program! Can you break down how the slowprint function works?

from time import sleep
def slowprint(text):
  for x in text:
    print(x, end='')
    sys.stdout.flush()
    sleep(0.07)

How is your function implementing the sleep period exactly? sorry, total beginner.

VulcanWM (1986)

Thanks. So after each letter it waits for 0.07 secs, it shows that on the last line of the code you showed. Maybe you could check out my new program @ellisbenm

awesome9 (0)

AHHH I DONT WANT SOMEONE TALKING TO ME IN MY SLEEP

dillonjoshua68 (66)

@VulcanWM isn’t there a way to slow print/ flush. Without calling it in each step?

dillonjoshua68 (66)

@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

VulcanWM (1986)

I haven't done it, but maybe @dillonjoshua68

dillonjoshua68 (66)

@VulcanWM btw, I learnt the sys.stdout.flush() function from u, thanks

dillonjoshua68 (66)

@VulcanWM btw what does os module compose of (in this program), and what are their uses? (U can answer anytime)

VulcanWM (1986)

I use os.system(“clear”) to clear the screen @dillonjoshua68

dillonjoshua68 (66)

@VulcanWM also, what does clearing the screen do? Benefits?

VulcanWM (1986)

Just gives you more space I guess @dillonjoshua68

dillonjoshua68 (66)

I’ll just upload one pic for your reference... cuz there’s apparently 2 red’s in you program (Red and red)

@VulcanWM

dillonjoshua68 (66)

Btw, fg is foreground (letters get colored) and bg is background (pretty much like a highlight) @VulcanWM

VulcanWM (1986)

One red is darker than the other one, I don’t know which ones @dillonjoshua68

dillonjoshua68 (66)

It signifies (light red) and red (normal) @VulcanWM

nathcra (1)

Amazing! How do the colors on the console work? Do you need OS or sys to do it? And also, is slowprint from os, or sys? I know, lots os and sys...

VulcanWM (1986)

Thanks, the colours on the console's code:

Green = "\033[0;32m"
Orange = "\033[0;33m"
Blue = "\033[0;34m"
Purple = "\033[0;35m"
Cyan = "\033[0;36m"
White = "\033[0;37m" 
black = "\033[0;30m"
red = "\033[0;91m"
green = "\033[0;92m"
yellow = "\033[0;93m"
blue = "\033[0;94m"
magenta = "\033[0;95m"
cyan = "\033[0;96m"
white = "\033[0;97m"
cyan_back = "\033[0;46m"
pink_back = "\033[0;45m"
white_back = "\033[0;47m"
blue_back = "\033[0;44m"
orange_back = "\033[0;43m"
green_back = "\033[0;42m"
red_back = "\033[0;41m"
grey_back = "\033[0;40m"
bold = "\033[1m"
underline = "\033[4m"
italic = "\033[3m"
darken = "\033[2m"
invisible='\033[08m'
reverse='\033[07m'
reset='\033[0m'

The code for the slowprint:

import sys
from time import sleep
def slowprint(text):
  for x in text:
    print(x, end='')
    sys.stdout.flush()
    sleep(0.07)

@nathcra

applesX (20)

Great work, but what’s with the ending? It repeats, do you think you can try to defeat Kronos himself?

VulcanWM (1986)

I was trying to make Part 2
@applesX

applesX (20)

Ok,@VulcanWM. Can’t wait, really good game though, can’t wait till I know that much 😂. I made.

applesX (20)

I don’t know where the I made came from sorry 😂

VulcanWM (1986)

But I might not make it. @applesX

maxyang (32)

There's a really easy strategy. Literally spam attack and you always win.

ZDev1 (358)

I am bored, python is bored
Make something better, like a website, or a unity game!
Tell them @Coder100!

ZDev1 (358)

@Coder100 tell them that python console is bored, make something like flask, django, etc.

KingCook (1)

For some reason it reminds me of pokemon