Working on making a Character sheet from scratch | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Working on making a Character sheet from scratch

So it's kinda tricky because the code needs a script and I'm rusty haven't coded in years. Basically I need field someone manually enters a number into, that when it reaches a specific amount it forces the character level to increase by one and experience points needed has to go up by 10,000 every time the character levels.

13th Apr 2024, 7:13 AM
Tom douglas
3 Answers
+ 3
You could analyze this example and use some code snipets in your project of ourse if you like:
13th Apr 2024, 8:51 AM
JaScript - avatar
+ 2
Sounds like you need a piece of paper and on it you can write that you need what looks like 4 variables - the user input field, the character level and the user's experience points and the increasing exp requirement. Using pseudocode you could map out how to do it and what connects to it, where it goes etc. Then code.
13th Apr 2024, 8:27 AM
Ausgrindtube - avatar
+ 1
I know the whole mathematics part of it. Basically lvl 1 start at 0 xp with a goal of 10,000. Once the 0 gets to 10,000. The intial goal needs to go to 20,000, and lvl from 1 to 2. Rinse and repeat till level 50 with the final xp count at 500,000.
13th Apr 2024, 1:09 PM
Tom douglas