7

rate python game

Comments:
Threaded Linear
#1
zerosh1ma

https://replit.com/@BraydenHaywood/TypeDungeon01-1#main.py
any coders on this website? is it good?
any feedback would be good :D

EDIT: ok i just realised it's quite broken and may take a few tries to even start running, but that's why it's "under construction"

#2
pokedyo
2
Frags
+

looks like a good timepass game(im not a coder)
i think theres a way to visualize stuff on python with sprites and stuff
idk if its easy or not but you could try it the game would look nice
also how long did you to take to make this
i didnt have any problems with starting the game
it worked perfectly till i died to a skeleton

#3
zerosh1ma
0
Frags
+

it took me about 45 minutes to make this rn, i'm in a coding class. i'm also in a graphic design atm but the site that i'm using does not allow for sprites :(
thanks for the info tho :))

#4
pokedyo
2
Frags
+

why is there a long ass biography of benjamin franklin lmao
edit:nvm i realized thats just text and not the main code of the game

#5
zerosh1ma
0
Frags
+

yeah there is many things in the .txt (text) files of the game
when you chose your dungeon you can chose that one

#6
Daniveus
1
Frags
+

so I found one issue. u can't prevent invalid entries using try...except ValueError, the exception is called when there is an actual error with mathematical operations, so if u enter 5 when there's only 4 options the program will break. I would suggest using a simple 'else' instead.
Still, doing this in 45 min is impressive and it looks like u are motivated, keep up the good work :)

#7
zerosh1ma
0
Frags
+

alright thanks! and then when people enter an invalid value ill just print("Invalid, try again:") or something

#8
Daniveus
1
Frags
+

in some cases, u may need to trigger the loop or call back the function, like when u are choosing the dungeon, besides using else and printing 'invalid, try again' u should set 'lchoice' back to 0 so the loop continues until the user selects a valid option.

#9
zerosh1ma
0
Frags
+

so they can re-chose their option from before after they choose an invalid one, ill do this.

#10
Pigguman
1
Frags
+

as a beginner to coding / python myself its very impressive

#11
ArgieGR8ArgieB8ArgieM8
2
Frags
+

Why's the choice input commented out and hardcoded as 1 in the intro function? It would be nice to be able to read the rules for the game and what the game is about, so you should uncomment the input assignment and remove the default assignment.

For me the game crashes because cmap is not defined when you load a map, because for some reason lvl.createmap() is called only in the first option, you should add it to the other options as well or assign it to a variable and call it at the end of the conditional chain(or before menu()), no?

Map generation and the design in general could be better(can look for inspiration from other dungeon crawlers), you should probably also clear and print the map when you win a battle, the user shouldn't have to print the map all the time via input.

Aside from that, It's a nice little dungeon crawler type beat with a typing mechanic.

#13
zerosh1ma
0
Frags
+

thanks for the feedback! also, the choice input was commented and coded as answer 1 because I have not made the rules or Load game yet, so the only valid answer would be 1.

and the "chose your hero" thing i have not done yet either.
ive only made this in about 45 mins to an hour and working on it with a friend so it's not that far along

#12
cdn
1
Frags
+

nice project but menu options dont throw errors so its easy to break

#14
GetsystheGr8
1
Frags
+

8/10... 15 more min and it could be the Oregon trail game

#15
zerosh1ma
0
Frags
+

if i turned it into c# and had an experienced graphic designer then maybe LOL

  • Preview
  • Edit
› check that that your post follows the forum rules and guidelines or get formatting help
Sign up or log in to post a comment