QB64.org Forum

Active Forums => Programs => Topic started by: SquirrelMonkey on December 21, 2020, 02:14:26 pm

Title: Ouija board
Post by: SquirrelMonkey on December 21, 2020, 02:14:26 pm
I made this for a Halloween video. After using it the drawers in the kitchen opened. It demonstrates the power of QB64.

Code: QB64: [Select]
  1. SCREEN _NEWIMAGE(320, 200, 32)
  2. b& = _LOADIMAGE("board.gif", 32)
  3. c& = _LOADIMAGE("cursor.gif", 32)
  4. _CLEARCOLOR _RGB32(255, 255, 255), c&
  5.         x = _MOUSEX - 50
  6.         y = _MOUSEY - 50
  7.         _PUTIMAGE (0, 0), b&
  8.         _PUTIMAGE (x, y), c&
  9.         IF INKEY$ <> "" THEN END
  10.     LOOP
  11.  

Title: Re: Ouija board
Post by: FellippeHeitor on December 21, 2020, 03:03:42 pm
The Halloween video was really funny. Setag Llib is the man!

Cool to see the source!
Title: Re: Ouija board
Post by: bplus on December 21, 2020, 03:26:45 pm
Oh boy! I've got an idea for this ;-))
Title: Re: Ouija board
Post by: SquirrelMonkey on December 21, 2020, 03:53:37 pm
Setag Llib is the man!
:D
Title: Re: Ouija board
Post by: bplus on December 22, 2020, 12:19:19 pm
I ran a Question by the Ouiji and here is the answer:
Title: Re: Ouija board
Post by: SquirrelMonkey on December 22, 2020, 03:36:29 pm
Hahaha!
Title: Re: Ouija board
Post by: FellippeHeitor on December 22, 2020, 04:09:23 pm
Lol, good mod
Title: Re: Ouija board
Post by: bplus on December 23, 2020, 11:56:10 am
Ah glad you guys liked it!

I was sitting eating my dinner last night and suddenly realized it's not a palindrome. What do you call words or phrase read forwards means one thing and in reverse means another thing and if they are related all the better?

Ha! reminds me of a Beatles album.
Title: Re: Ouija board
Post by: SquirrelMonkey on December 23, 2020, 12:41:43 pm
Ah glad you guys liked it!

I was sitting eating my dinner last night and suddenly realized it's not a palindrome. What do you call words or phrase read forwards means one thing and in reverse means another thing and if they are related all the better?

Ha! reminds me of a Beatles album.

There is a term for it. People call it an "emordnilap" (palindrome backwards).
https://examples.yourdictionary.com/what-does-emordnilap-mean.html
Title: Re: Ouija board
Post by: bplus on December 23, 2020, 05:21:21 pm
There is a term for it. People call it an "emordnilap" (palindrome backwards).
https://examples.yourdictionary.com/what-does-emordnilap-mean.html

Thanks, I guess I was not so far off, just had it backwards ;-))

And I see 2 more words from link: levidromes and anadromes, knew there had to be a word for it, didn't know there were 3! I definitely like palindromes backwards the best.