Find Jobs
Hire Freelancers

modify my javascript project according to my specifcations

$10-30 AUD

Tamamlandı
İlan edilme: neredeyse 6 yıl önce

$10-30 AUD

Teslimde ödenir
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.
Proje No: 16944852

Proje hakkında

10 teklif
Uzaktan proje
Son aktiviteden bu yana geçen zaman 6 yıl önce

Biraz para mı kazanmak istiyorsunuz?

Freelancer'da teklif vermenin faydaları

Bütçenizi ve zaman çerçevenizi belirleyin
Çalışmanız için ödeme alın
Teklifinizin ana hatlarını belirleyin
Kaydolmak ve işlere teklif vermek ücretsizdir
Seçilen:
Kullanıcı Avatarı
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 gün içinde
4,8 (27 değerlendirme)
4,5
4,5
10 freelancer bu proje için ortalama $29 AUD teklif veriyor
Kullanıcı Avatarı
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 gün içinde
5,0 (1 değerlendirme)
1,0
1,0
Kullanıcı Avatarı
A proposal has not yet been provided
$15 AUD 1 gün içinde
0,0 (0 değerlendirme)
0,0
0,0
Kullanıcı Avatarı
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 gün içinde
0,0 (0 değerlendirme)
0,0
0,0
Kullanıcı Avatarı
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 gün içinde
0,0 (0 değerlendirme)
0,0
0,0
Kullanıcı Avatarı
.....
$35 AUD 1 gün içinde
0,0 (0 değerlendirme)
0,0
0,0

Müşteri hakkında

   AUSTRALIA bayrağı
chifley, Australia
5,0
9
Oca 27, 2016 tarihinden bu yana üye

Müşteri Doğrulaması

Teşekkürler! Ücretsiz kredinizi talep etmeniz için size bir bağlantı gönderdik.
E-postanız gönderilirken bir şeyler yanlış gitti. Lütfen tekrar deneyin.
Kayıtlı Kullanıcı İlan Edlien Toplam İş
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Ön izleme yükleniyor
Coğrafik konum için izin verildi.
Giriş oturumunuzun süresi doldu ve çıkış yaptınız. Lütfen tekrar giriş yapın.