Author Topic: 15 days for Halloween code challenge  (Read 8310 times)

0 Members and 1 Guest are viewing this topic.

Offline TempodiBasic

  • Forum Resident
  • Posts: 1792
    • View Profile
Re: 15 days for Halloween code challenge
« Reply #15 on: October 24, 2018, 06:18:56 pm »
@Steve
I have take a look and it is very interesting and cool.
I'm waiting for development....

It lasts 6 days....
Programming isn't difficult, only it's  consuming time and coffee

Offline TempodiBasic

  • Forum Resident
  • Posts: 1792
    • View Profile
Re: 15 days for Halloween code challenge
« Reply #16 on: October 28, 2018, 08:14:11 am »
Hi Guys
I hope that you are using the lasting time to upset your creations....
and I am doing so.

I remember that it lasts only 4 days to post your contribute...

Good Coding waiting Halloween's results
Programming isn't difficult, only it's  consuming time and coffee

Offline SMcNeill

  • QB64 Developer
  • Forum Resident
  • Posts: 3972
    • View Profile
    • Steve’s QB64 Archive Forum
Re: 15 days for Halloween code challenge
« Reply #17 on: October 28, 2018, 10:24:42 am »
Hi Guys
I hope that you are using the lasting time to upset your creations....
and I am doing so.

I remember that it lasts only 4 days to post your contribute...

Good Coding waiting Halloween's results

My project got postponed a bit.  The last couple of days haven't given me any time for doing much serious coding as I've been too busy trying to devirus the wife's computer.  Let me tell ya: she's got a talent for finding them!!

At this point, I'm thinking the only sensible thing to do is boot to a fresh Linux system, via CD or USB, then dig and search for her documents and pictures which she wants to save, and copy them to a quarantined drive, before finally fdisking and blanking the whole damn drive and then reinstalling Windows for her.

I dunno how she did it, but Windows is partitioned on a separate drive from her data files (D:\ instead of C:\), and yet she's managed to get BOTH drives infected with 2418 different versions of spyware, adware, malware, viruses, trojans, and keyloggers! 

The woman has a God-given talent, I'm telling ya!!
https://github.com/SteveMcNeill/Steve64 — A github collection of all things Steve!

Offline TempodiBasic

  • Forum Resident
  • Posts: 1792
    • View Profile
Re: 15 days for Halloween code challenge
« Reply #18 on: October 28, 2018, 11:31:14 am »
Hi Steve
just to give a preview of your project
Programming isn't difficult, only it's  consuming time and coffee

Offline TempodiBasic

  • Forum Resident
  • Posts: 1792
    • View Profile
Re: 15 days for Halloween code challenge
« Reply #19 on: October 31, 2018, 04:52:09 pm »
Last day to post your ideas and results about Halloween challenge...
see later!

Good Type Type Typing Code
:-)
Programming isn't difficult, only it's  consuming time and coffee

FellippeHeitor

  • Guest
Re: 15 days for Halloween code challenge
« Reply #20 on: October 31, 2018, 04:52:55 pm »
I apologize for not taking part in the challenge, Tempodi. Too much in my hands these days.

I hope more people submit entries! There's till midnight!

Offline TempodiBasic

  • Forum Resident
  • Posts: 1792
    • View Profile
Re: 15 days for Halloween code challenge
« Reply #21 on: October 31, 2018, 05:05:28 pm »
Also I am typing because yesterday  I got into a fight with alphatrasparency image. I am not a great graphic operator (I use LodePaint or GIMP 2). Now I just fight with _limit and flickering :-)
But at the end I think to win these issues!
Programming isn't difficult, only it's  consuming time and coffee

Offline Pete

  • Forum Resident
  • Posts: 2361
  • Cuz I sez so, varmint!
    • View Profile
Re: 15 days for Halloween code challenge
« Reply #22 on: October 31, 2018, 05:10:35 pm »
@ Fell's reply: And by too much on his hands he means diapers. Don't worry Fell, potty training solves that, it just takes 1+ years.

That bat is all I've coded in the past couple of months. I've been up to a lot of political stuff with the mid-term elections here. That's hardly a hobby. It feels more like a fight to keep a decent life for family and their future. Still, I have not regained the interest in programming I used to have. I still have some projects of interest that are more business related, which I may take up next year. Until then, I'm afraid "bats" all for now.

Pete
Want to learn how to write code on cave walls? https://www.tapatalk.com/groups/qbasic/qbasic-f1/

Offline TempodiBasic

  • Forum Resident
  • Posts: 1792
    • View Profile
Re: 15 days for Halloween code challenge
« Reply #23 on: October 31, 2018, 05:22:28 pm »
Hi Pete
I'm sorry but a virus has modified your code....
Code: QB64: [Select]
  1. 'background
  2. CLS , 1
  3. RESTORE moon
  4. FOR a = 1 TO 13
  5.     FOR b = 1 TO 15
  6.         READ c
  7.         IF c = 1 THEN
  8.             LOCATE 6 + a, 10 + b
  9.             PRINT CHR$ (64)
  10.         END IF
  11.     NEXT
  12. COLOR 6, 6
  13. LOCATE 25, 1
  14. PCOPY 0, 1
  15.  
  16. a$ = "^^0^^"
  17. b$ = "VV0VV"
  18.  
  19. FOR i = 25 TO 1 STEP -1
  20.     IF i = 2 THEN i = 25
  21.     IF i = 25 THEN col = INT(RND * 75) + 1
  22.     PCOPY 1, 0
  23.     COLOR 15, 1
  24.     LOCATE 22, i: PRINT " Ü ";
  25.     LOCATE 23, i: PRINT "ÛìÛ";
  26.     LOCATE 24, i: PRINT "ÛÛÛ";
  27.     COLOR 7, 1
  28.     LOCATE i, col
  29.     PRINT a$;
  30.     _DELAY .2
  31.     LOCATE , col: PRINT b$;
  32.     _DELAY .1
  33.     COLOR 15, 1
  34.     LOCATE 22, i: PRINT "   ";
  35.     LOCATE 23, i: PRINT "   ";
  36.     LOCATE 24, i: PRINT "   ";
  37.     COLOR 7, 1
  38.  
  39.     LOCATE , col: PRINT SPACE$(5)
  40.  
  41. 'matrix 15x13 for moon
  42. moon:
  43. DATA 0,0,0,0,1,1,1,1,1,1,1,1,1,0,0
  44. DATA 0,0,0,1,1,1,1,1,1,1,1,1,1,1,0
  45. DATA 0,0,1,1,1,1,1,1,1,1,0,0,1,1,0
  46. DATA 0,0,1,1,1,1,1,1,1,0,0,0,1,1,1
  47. DATA 0,1,1,1,1,1,1,0,0,0,0,0,0,1,1
  48. DATA 1,1,1,1,1,1,1,0,0,0,0,0,0,0,0
  49. DATA 1,1,1,1,1,1,0,0,0,0,0,0,0,0,0
  50. DATA 0,1,1,1,1,1,0,0,0,0,0,0,0,0,0
  51. DATA 0,0,1,1,1,1,1,0,0,0,0,0,0,0,0
  52. DATA 0,0,1,1,1,1,1,1,0,0,0,0,0,0,0
  53. DATA 0,0,0,1,1,1,1,1,1,0,0,0,0,1,1
  54. DATA 0,0,0,0,1,1,1,1,1,1,1,1,1,1,0
  55. DATA 0,0,0,0,0,1,1,1,1,1,1,1,1,0,0
  56.  

and I got this screenshot attached

I'm sorry, it seems that AVAST do not avast  (in my local dialect avast = it is not enough) !
Programming isn't difficult, only it's  consuming time and coffee

Offline SMcNeill

  • QB64 Developer
  • Forum Resident
  • Posts: 3972
    • View Profile
    • Steve’s QB64 Archive Forum
Re: 15 days for Halloween code challenge
« Reply #24 on: October 31, 2018, 05:25:24 pm »
I'm just a guy easily distracted by other........   LOOK!  BOOBIES!!!

... Now, wait a moment...  Where was I?  OH, right!  I was saying I was easy distrac...

DID YOU SEE THAT CAT VIDEO??  No??  Well, nevermind.  What was I talking about?  Oh yeah!  My QBDbas...

Sorry.  I had to let the dog go pee...

But, as I was saying, "Have you seen the changes to CONST?  Or the bug fixes I was wooooorrr.....

BOOBIES!!  AGAIN!!

You know, I wouldn't have these issues if my wife wouldn't walk around topless half the tiiiiiimmmmeee.....

HI honey!  You know, I just love it when you lean over my shoulder and look at what I'm typing, while you're dressed like thaaaa....

....umm.....ummm..... 

Sorry guys.  I gotta go.  The wife needs my help in the bedroom for a while..  We can talk about ....  whatever it was....

Later.
https://github.com/SteveMcNeill/Steve64 — A github collection of all things Steve!

Offline Pete

  • Forum Resident
  • Posts: 2361
  • Cuz I sez so, varmint!
    • View Profile
Re: 15 days for Halloween code challenge
« Reply #25 on: October 31, 2018, 05:40:04 pm »
Quote
Sorry guys.  I gotta go.  The wife needs my help in the bedroom for a while..  We can talk about ....  whatever it was....

Later.

Yeah, she needs you to go on a battery run!
Want to learn how to write code on cave walls? https://www.tapatalk.com/groups/qbasic/qbasic-f1/

Offline STxAxTIC

  • Library Staff
  • Forum Resident
  • Posts: 1091
  • he lives
    • View Profile
Re: 15 days for Halloween code challenge
« Reply #26 on: October 31, 2018, 05:44:49 pm »
Hahaha, this why I love Pete... always beats me to the zing and with a better one no less...
You're not done when it works, you're done when it's right.

Offline bplus

  • Global Moderator
  • Forum Resident
  • Posts: 8053
  • b = b + ...
    • View Profile
Re: 15 days for Halloween code challenge
« Reply #27 on: October 31, 2018, 05:48:52 pm »
Oh rats! another mod from Bplus:
Code: QB64: [Select]
  1. _TITLE "Fake sphere mapping mod 2  2018-10-31 B+"
  2.  
  3. CONST WW = 800
  4. CONST WH = 600
  5. SCREEN _NEWIMAGE(WW, WH, 32)
  6.  
  7. map& = _NEWIMAGE(WW, WH, 32)
  8. _DEST map&
  9. LINE (0, 0)-(WW, WH), _RGB32(200, 100, 0), BF
  10. FOR i = 0 TO WW STEP WW / 12
  11.     LINE (i, 0)-(i + 1, WH), _RGB32(0, 0, 0), BF
  12.  
  13. k~& = _RGB32(255, 255, 0)
  14. ftri map&, WW / 2 - 100, WH / 3, WW / 2 - 100 - 25, WH / 3 + 50, WW / 2 - 100 + 25, WH / 3 + 50, k~&
  15. ftri map&, WW / 2 + 100, WH / 3, WW / 2 + 100 - 25, WH / 3 + 50, WW / 2 + 100 + 25, WH / 3 + 50, k~&
  16. ftri map&, WW / 2 - 25, WH / 3 + 100, WW / 2, WH / 3 + 150, WW / 2 + 25, WH / 3 + 100, k~&
  17.  
  18. ftri map&, WW / 2 - 50, WH / 3 + 125, WW / 2 - 55, WH / 3 + 130, WW / 2 - 200, WH / 3 + 80, k~&
  19. ftri map&, WW / 2 + 50, WH / 3 + 125, WW / 2 + 55, WH / 3 + 130, WW / 2 + 200, WH / 3 + 80, k~&
  20.  
  21. ftri map&, WW / 2 - 60, WH / 3 + 140, WW / 2 - 60, WH / 3 + 145, WW / 2 - 220, WH / 3 + 140, k~&
  22. ftri map&, WW / 2 + 60, WH / 3 + 140, WW / 2 + 60, WH / 3 + 145, WW / 2 + 220, WH / 3 + 140, k~&
  23.  
  24. ftri map&, WW / 2 - 60, WH / 3 + 160, WW / 2 - 55, WH / 3 + 165, WW / 2 - 220, WH / 3 + 210, k~&
  25. ftri map&, WW / 2 + 60, WH / 3 + 160, WW / 2 + 55, WH / 3 + 165, WW / 2 + 220, WH / 3 + 210, k~&
  26.  
  27. _PUTIMAGE , map&
  28.  
  29. r = WH / 3
  30. xc = WW / 2
  31. yc = WH / 2
  32. xo = 0
  33. COLOR , _RGB32(40, 0, 68)
  34.     CLS
  35.     FOR y = -r TO r
  36.         x1 = SQR(r * r - y * y)
  37.         tv = (_ASIN(y / r) + 1.5) / 3
  38.         FOR x = -x1 + 1 TO x1
  39.             tu = (_ASIN(x / x1) + 1.5) / 6
  40.             _SOURCE map&
  41.             pc~& = POINT((xo + tu * WW) MOD WW, tv * WH)
  42.             _DEST 0
  43.             PSET (x + xc, y + yc), pc~&
  44.         NEXT x
  45.     NEXT y
  46.     xo = xo + 1
  47.     xo = xo MOD WW
  48.     _DISPLAY
  49.     _LIMIT 60
  50.  
  51. ' found at [abandoned, outdated and now likely malicious qb64 dot net website - don’t go there]:    http://www.[abandoned, outdated and now likely malicious qb64 dot net website - don’t go there]/forum/index.php?topic=14425.0
  52. SUB ftri (d&, x1, y1, x2, y2, x3, y3, K AS _UNSIGNED LONG)
  53.     a& = _NEWIMAGE(1, 1, 32)
  54.     _DEST a&
  55.     PSET (0, 0), K
  56.     _DEST d&
  57.     _MAPTRIANGLE _SEAMLESS(0, 0)-(0, 0)-(0, 0), a& TO(x1, y1)-(x2, y2)-(x3, y3)
  58.     _FREEIMAGE a& '<<< this is important!
  59.  
  60.  

Offline Pete

  • Forum Resident
  • Posts: 2361
  • Cuz I sez so, varmint!
    • View Profile
Re: 15 days for Halloween code challenge
« Reply #28 on: October 31, 2018, 06:22:06 pm »
Hahaha, this why I love Pete... always beats me to the zing and with a better one no less...

Thanks, but jokes like these have had some people considering me to be a misogynist, which is weird, because I have spent a lot of money in my adult life on battered women. They're just better deep fried. I mean who wouldn't prefer a well-"bread" woman over a boneless one, anyway?

@BPlus - Nice basketball, but why does it have a cat's face on it?
Want to learn how to write code on cave walls? https://www.tapatalk.com/groups/qbasic/qbasic-f1/

Offline bplus

  • Global Moderator
  • Forum Resident
  • Posts: 8053
  • b = b + ...
    • View Profile
Re: 15 days for Halloween code challenge
« Reply #29 on: October 31, 2018, 07:25:06 pm »
Some bats ate all the pumpkins.