|
![]() |
Overclock.net - Overclocking.net > Software, Programming and Coding > Coding and Programming > Application Programming | |
Turing help (for school)
|
||
![]() |
|
|
LinkBack | Thread Tools |
|
|
#1 (permalink) | ||||||||||||
|
Programmer
|
I have a question for my math game, suppositly after every level (10 questions) the # of digits for the quetsions are suppose to increase... like 8+6 would be level one and level 2 would be 88+66 and level 3 would be 888+666 etc..... how do i make the digits increase ( max number is 9 in level one, level 2 max number 99, level 3 max number 999) (these numbers are created at random.....)plz help
__________________
|
||||||||||||
|
|
|
|
|
#2 (permalink) | |||||
|
Site Old-timer
|
Quote:
example: if cntr%10=0 then diff = lv2
|
|||||
|
|
|
|
#3 (permalink) | ||||||||
|
News Fiend
|
is this game like for 9 yr olds?, but what you mean change the numberS?
__________________
Selling Current Rig FAQ: What is HDCP? FAQ: Stop unwanted Programs Starting at start up CPUz Validation @4.01Ghz Officially 4.01GHz "Conroe can eat anything clock per clock|now days its not about intel vs amd or conroe vs am2 |its all about Conroe vs Yonah vs Dothan vs Merom"
|
||||||||
|
|
|
|
#4 (permalink) | |||||||||||
|
Love's Astra's :)
|
what language
VB, C++
__________________
|
|||||||||||
|
|
|
|
#5 (permalink) | ||||||||||||
|
Programmer
|
turing!! its in the name haha ya this is for the age of 9 year olds... (school project) etc.. ya
__________________
|
||||||||||||
|
|
|
|
|
#6 (permalink) | |||||||||||
|
4.0ghz
|
this should work in most languages
newNumLevels = oldNumLevels * 10 + oldNumLevels yeah. that should be it. i'm still confused on what it does, but i hope i can at least answer your question
__________________
Overclocking in a nutshell: CyberDruid's BOOK | EvilXP's List of OCing Guides | DeathONator's Ultimate Overclocking Guide | The TOS Quote:
|
|||||||||||
|
|
|
|
#7 (permalink) | ||||||||||||
|
Programmer
|
alrite thx
__________________ill try that
|
||||||||||||
|
|
|
|
|
#8 (permalink) | ||||||||||||
|
Programmer
|
it doesnt really work... but i think thats the basic idea... any other suggestions?
__________________
|
||||||||||||
|
|
|
|
|
#9 (permalink) | ||||||||||||||
|
Bifford
![]() |
Quote:
__________________
Helpful Posts (Hopefully )Overclocker's Calculator Photo Editing - B&W w/Color Accents
|
||||||||||||||
|
|
|
|
#10 (permalink) | ||||||||||||
|
Programmer
|
there are 3 numbers (generated at random)
__________________1 number is the first number of the question the second number from 0-2 will determin if its addition, subtaction or multiply the third number will be the second number of the question so after running after the 3 lines of code and a few if statments there will be an equation 1+1, 2-1 , or 3X3 now thats level one after 10 questions it will reach level 2 my question is how to make it from 1+1 or 2-1 etc to 11+11 or 21-20 after the completion of level 1 and when level 2 is done there should be 3 digits like 111+111 or 222-111 etc..... and so on as the levels increase like when the user reaches level 6, there should be 6 digits in the equation.... what i want to know is HOW to increase the digits i
|
||||||||||||
|
|
|
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
|
|