Share your repls and programming experiences

← Back to all posts
Check out My Cool Game!
Pcat1 (3)

I know it is not much but you can at least drop a Heart!
Credit to AstrumDeorum for the Great Template! Here is the Link. https://replit.com/@AstrumDeorum/Clicker-Template Upvote it if you want to.

Comments
hotnewtop
ManharRavipati (44)

nice job. Maybe you can have levels in the game. Maybe for the first level, you have to get 2,000 to pass on to the next level.

Pcat1 (3)

@ManharRavipati I do not really know how to do that. I know Web development. Kinda. I am learning Python. Could you maybe help me?

MikeJMS8910 (231)

@Pcat1 you would just have an if statement to check if the variable like money or something and if it is it will go to a new level.

Pcat1 (3)

@MikeJMS8910 Could you attach the code for that? I am new to Python kinda.

MikeJMS8910 (231)

@Pcat1 this would be in Javascript.

if and else statements - https://www.w3schools.com/js/js_if_else.asp

Window.open for opening new levels -
https://www.w3schools.com/jsref/met_win_open.asp

Pcat1 (3)

@MikeJMS8910 how would I make the new level.

MikeJMS8910 (231)

@Pcat1 just make it a new html page. Then you have the window.open to open that up if the if statement is true

Pcat1 (3)

@Pcat1 oh Oops I will work on this thank you.

Pcat1 (3)

@MikeJMS8910 sorry but can you write the code for me?

MikeJMS8910 (231)

@Pcat1 sorry but I cant just write it for you. Teach a man to fish not give him fish - if you know what I mean