Author Topic: Shuffleboard  (Read 3715 times)

0 Members and 1 Guest are viewing this topic.

Offline johnno56

  • Forum Resident
  • Posts: 1270
  • Live long and prosper.
    • View Profile
Shuffleboard
« on: May 26, 2021, 03:25:06 am »
Hi B+,

A bit of nostalgia.  I attempted to convert this to QB64. It plays ok. But could use the B+ tweak here and there... nudge, nudge...
eg: I cannot get the "puck" to deliberately hit the "red" zone... Not a problem for "me"... lol
Also... I'm not familiar with QB64 and touchpads.... Configured for SpaceBar...

 
shuffleboard.png


 

Logic is the beginning of wisdom.

Offline bplus

  • Global Moderator
  • Forum Resident
  • Posts: 8053
  • b = b + ...
    • View Profile
Re: Shuffleboard
« Reply #1 on: May 26, 2021, 04:28:07 am »
Hey I remember this, I think we worked it at sb, is this the QB64 version?

Well let's see! :)

Offline bplus

  • Global Moderator
  • Forum Resident
  • Posts: 8053
  • b = b + ...
    • View Profile
Re: Shuffleboard
« Reply #2 on: May 26, 2021, 04:40:00 am »
I made a little adjustment to the screen:
Code: QB64: [Select]
  1. xmax = 1024
  2. ymax = 400 ' <<  reduced
  3.  
  4. _Title ("Shuffleboard - B+ and J")
  5. Screen _NewImage(xmax, ymax, 32)
  6. _Delay .25 ' time for screen to load
  7. _ScreenMove _Middle  '<<  centered
  8.  
  9.  

Offline bplus

  • Global Moderator
  • Forum Resident
  • Posts: 8053
  • b = b + ...
    • View Profile
Re: Shuffleboard
« Reply #3 on: May 26, 2021, 04:43:22 am »
Oh I just looked at sb version, try this
Code: QB64: [Select]
  1. xmax = 1024
  2. ymax = 400
  3.  
  4. _Title ("Shuffleboard - B+ and J")
  5. Screen _NewImage(xmax, ymax, 32)
  6. '_Delay .25 ' time for screen to load
  7. '_ScreenMove _Middle
  8.  

Offline johnno56

  • Forum Resident
  • Posts: 1270
  • Live long and prosper.
    • View Profile
Re: Shuffleboard
« Reply #4 on: May 26, 2021, 09:05:10 am »
Cool...

Conversion was fairly easy... for me anyway... lol  Thanks for the mods. Much appreciated.

No coffee... It's after 11pm and I have to be up at 5:30am... Two cups tomorrow... Moo Ha Ha....
Logic is the beginning of wisdom.

Offline bplus

  • Global Moderator
  • Forum Resident
  • Posts: 8053
  • b = b + ...
    • View Profile
Re: Shuffleboard
« Reply #5 on: May 26, 2021, 12:04:49 pm »
@johnno56

How about an update towards real shuffleboard, now that I have practiced with Pool stuff vers 3.1 fixes:
https://qb64.freeforums.net/thread/150/pool
or https://friends-of-basic.freeforums.net/thread/39/pool
(a little plug for a little break for those who are doing collision diagramming ;-))

Now ready for the Senior stuff! We could feature a coffee machine which is an area you are quite familiar.

Oh hey, shuffle board on the surface of a coffee cup, we could shuffle the bubbles around. Think it will take floating point math to keep track of score.

Offline johnno56

  • Forum Resident
  • Posts: 1270
  • Live long and prosper.
    • View Profile
Re: Shuffleboard
« Reply #6 on: May 26, 2021, 04:28:41 pm »
I've done a little research, googled once - lol, and found out some interesting stuff about shuffleboard.
Indoor and Outdoor played on the floor or indoor on a 'table'. There are about 5 different lengths. Standard board is 22ft long and 20in wide. Official outdoor is 39ft by 6ft. Can be played by a single player but preferred by two players. Each player has 4 discs, taking alternate turns, until all discs are played. All discs remain on the board until each player has completed 4 'throws'. First to 15 points.
(this could be a good use of your collisions...)

Scoring: Do you remember the "food types triangle" diagram? Flip it upside down and place points in each section. The other system is similar to ours. But only four areas at which to aim. https://www.shufl.com.au/learn-to-play-blog-post

 
NEW-Graphic-Cartoon-Rules-At-A-Glance.png


This sounding a bit complicated... for me anyway...

One interesting 'table' I spotted.... Halfway down the table, the board does two 90 degree bends, and the 'end' of the table finishes next to player. The puck(s) will bounce off two 45 degree bumper rails. Could be fun?

It's almost 6:30am and I have finished my first coffee...  Cool...
« Last Edit: May 26, 2021, 04:34:05 pm by johnno56 »
Logic is the beginning of wisdom.

Offline bplus

  • Global Moderator
  • Forum Resident
  • Posts: 8053
  • b = b + ...
    • View Profile
Re: Shuffleboard
« Reply #7 on: May 26, 2021, 05:10:47 pm »
Quote
Scoring: Do you remember the "food types triangle" diagram?

Yes that is the one I remember from childhood. I thought that's what they played on Cruise Lines.
http://legacy.tarkettna.com/expressions/products/basketballandshuffleboardkits.aspx
They have it all dim'd out.

Wait, a shuffle board that does a 180 and comes back to you? So you don't have to walk to the other side of the board wow! what luck! Sounds good to me.

Now for the coffee machine...
« Last Edit: May 26, 2021, 05:11:59 pm by bplus »

Offline johnno56

  • Forum Resident
  • Posts: 1270
  • Live long and prosper.
    • View Profile
Re: Shuffleboard
« Reply #8 on: May 26, 2021, 06:49:54 pm »
It's called a rebound table. The idea is similar to the image. Left and right to move the puck; space to slide; bounce off a 45 degree bumper to then slide across the 'top' of the table to then bounce of another 45 degree bumper and head towards the scoring end.

 
the-rebound-limited-shuffleboard-table-8.jpeg


Of course, the game image maybe a lot simpler... lol
Logic is the beginning of wisdom.