[ GAME ] C RPG GAME
C RPG Game
After many segmentation faults, stack smashes, floating-point errors, and some more errors, I am proud to announce...
C RPG Game
About
Fight monsters, level up, buy stats to become the most powerful, and defeat the enemy that has been pillaging innocent cities for years!
Jam
This is also an entry to this jam... POG
How to play
Included inside the game, but you just have to type in the number corresponding to it.
Extra features
You can also save your game, just be aware that we won't save your pet species and name :(
The save code is in binary so it shouldn't be too hard to crack locally but on repl.it, it would be quite hard. Because of the nature of how repl.it works, make sure to fork this repl to play.
Strategy
Because there are 7 levels, and they get increasingly hard, don't level up too early! Try to go over a little bit. Also, I think having more health than attack is more important... idk send strats
Credits
- Special thanks to @objectme12 for suggestions and helping me with saving the game!
Closing
Have a great day! Remember to fork this repl if you want to save your game and beat the final boss! (I don't think you can do this in one sitting...)
Send speedruns
Add a kill option when clicking on pet Only 7 upvotes? You lost a lot of fan followers.
You should make a post soon called T h e R o a d T o 10000 u p v o t e s once you reach 10000 upvotes (which according to my calculations is in around 1 week! Congrats in advanced! .-.)
Nice one!!!! and wanna do a collab on html,css and [email protected]
Thanks! Also sure, what's your collab idea?
@TANMAYBAGADIANice! Funny we both decided to share C projects at the same time.
Nice Game!
Thanks!
@mintbookwormNice game! Is there an issue with saving strings or something so that you can't save name?
well the thing is, I use the property that all chars
are ints
, and it isn't uncommon that people have a score of 0
.
ok I'll try
'\0'
(the char with integer value 0), then a score of 1 would be the ascii character SOH
(start of heading) and a score of 2 would be ascii character STX
(start of text). If that isn't what you're doing, then congrats you're doing it correctly. If it is what you're doing, then you have a bigger issue at hand — no player could get a score greater than 255.
To store a digit as a char, just do my_digit + '0'
— that's adding an offset of my_digit
to the char '0'
, and since chars '0'
-'9'
are contiguous that will create a number char from 0 to 9. It's pretty simple. (So for each digit in the number, just do that.)
Think a good idea would be to make a bulk buying system, because manually inputting '2' 100 times takes too long, and even longer to finish the 'Your pet gain +1 attack!'.
I can see how this would be heard though, so sorry if this isn't possible
This game seems broken. At first, the monsters were easy to beat, but after a while, they were impossible to beat.
This is awesome, but I would love if there were some graphics!!!
uhh what?
why can't i level up?!
oh that's in number 3 level
@Soccer135246wait you don't appear to have leveled up
@Soccer135246i found a glitch, even when you kill an enemy it can still attack you one more time
that cool man! like it a lot!
Very very very pog
Good job man
Noice
Very cool, thanks for sharing.
Nice! :D
Thanks! :D
@pepelaugh