Find Jobs
Hire Freelancers

modify my javascript project according to my specifcations

$10-30 AUD

Завершено
Опублікований almost 6 years ago

$10-30 AUD

Оплачується при отриманні
each 0 or 1 should be calculated one at a time, not 80 in a row at once if it doesn't already. the code (see attached) is currently messy due to my modifications and my lack of programming skill, it needs cleaning up. please organise the code to use object oriented style programming. all number values (such as 250, 500, 750) should be variables that can be easily changed. do not use external libraries. by commencing or completing this project, you agree to transfer all intellectual property and copyright of the code to me. the code will be open source and under the GNU GPL v2.0 . modify the code to do the following: the title of the webpage should be modified to display "(0) [login to view URL]" or "(1) [login to view URL]" depending on the numResult. generate a random number between 1 and 1000 > 250 <= 750 display an underscore (or prefer a space) > 750 <= 1000 display 1, 'lock', new loop replacing the '1' character that was just displayed >= 0 < 250 display 0, 'lock', new loop replacing the '0' character that was just displayed lock loop: when more than 750 or less than 250, generate a new random number between 0 and 1000, if less than 500 display '0' else display '1' and replace the last character just written to the string of length 2000 (do not remove the first character in the 2000 length string and always keep the string length 2000). subtract the number generated from 1000 if '1' (>500) into the 'lockOne' variable or else set the 'lockZero' variable to the number generated (same as 0 + number that is <500). repeat this internal loop and subtract 10 from the 'lockOne' or 'lockZero' variables depending on if it's a 1 or 0 with each iteration and only exit this internal loop until either 'lockOne' or 'lockZero' is less than 0, when it does reach <0, start another new internal 'newLock' loop within this loop. newLock loop: generate a new number between 1-1000. if > 0 < 500 add an additional 0, if > 500 < 1000 add an additional 1, removing the first character from the string. add 1 to lockZero or lockOne and repeat this loop until lockZero or lockOne equals 0 (should be a small negative number). generate a new 1-1000. if this number is > 0 < 250 or > 750 < 1000, replace the last character with a 0 or 1, respectively. if this same number is > 250 < 750 then add an additional 0 or 1 to the string if < 500 or > 500, respectively, removing the first character of the string, then return to the beginning of the lock loop, or exit this loop and return to the infinite loop if lockZero or lockOne is 0. for a better explanation of the lock and newLock loops, see the example in attached [login to view URL] . if in doubt, use the example as a guide. each of the lock and newLock loops should pause the same amount of time as the previously set universal variable with each change of '0' or '1' or adding a new '0' or '1'. when adding a new '0' or '1' and removing the first character in the string, there is no pause between removing a character and adding a character to the end of the string.
ID проекту: 16944852

Про проект

10 пропозицій(-ї)
Дистанційний проект
Активність 6 yrs ago

Хочете заробити?

Переваги подання заявок на Freelancer

Вкажіть свій бюджет та терміни
Отримайте гроші за свою роботу
Опишіть свою пропозицію
Реєстрація та подання заявок у проекти є безкоштовними
Доручений:
Аватарка користувача
Hello I am expert in javascript and I did master's in mathematics so I am one of the suitable candidate for this project. Feel free to contact me. Thank hemant
$30 AUD за 1 день
4,8 (27 відгуки(-ів))
4,5
4,5
10 фрілансерів(-и) готові виконати цю роботу у середньому за $29 AUD
Аватарка користувача
I have long term experience in Javascript and jQuery. I am familiar with DataTable and other Javascript and jQuery libraries. I believe I can solve your problem easily and deliver your project in time.
$15 AUD за 1 день
5,0 (1 відгук)
1,0
1,0
Аватарка користувача
A proposal has not yet been provided
$15 AUD за 1 день
0,0 (0 відгуки(-ів))
0,0
0,0
Аватарка користувача
How you can see Iam new freelancer, I really need the job and a good review, but the most important thing is that I need an opportunity to prove that I have the skill needed to be a full stack web developer. If you gave me the work I can assure you will not be disappointed. Is a little messy your code but is not something very difficult.
$15 AUD за 2 дні(-в)
0,0 (0 відгуки(-ів))
0,0
0,0
Аватарка користувача
First I need to understand your code and your requirement so that would need a day and then around 2-3days for coding extra time is the buffer time incase needed.
$15 AUD за 7 дні(-в)
0,0 (0 відгуки(-ів))
0,0
0,0
Аватарка користувача
.....
$35 AUD за 1 день
0,0 (0 відгуки(-ів))
0,0
0,0

Про клієнта

Прапор AUSTRALIA
chifley, Australia
5,0
9
На сайті з січ. 27, 2016

Верифікація клієнта

Дякуємо! Ми надіслали на вашу електронну пошту посилання для отримання безкоштовного кредиту.
Під час надсилання електронного листа сталася помилка. Будь ласка, спробуйте ще раз.
Зареєстрованих користувачів Загальна кількість опублікованих робіт
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Завантажуємо для перегляду
Дозвіл на визначення геолокації надано.
Ваш сеанс входу закінчився, і сеанс було закрито. Будь ласка, увійдіть знову.