Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Simple Draw poker game
#14
Yellow is my favorite color! but on sky blue I can't see it for lack of contrast.

For reading print, contrast is essential. 

Yellow is bright R 255 + G 255 so any blue or Sum R + G + B < 255 should be fine.

Oh it turns out high G level not so good either

Still millions of combinations will work with yellow!
Code: (Select All)
Screen _NewImage(800, 600, 32)
Do
    g = Rnd * 128 ' turns out high greens are bad too
    r = Rnd * (255 - g)
    b = 255 - r - g
    Color _RGB32(255, 255, 0), _RGB32(r, g, b)
    Cls
    Print "  red:"; r
    Print "green:"; g
    Print " blue:"; b
    Print "total:"; r + g + b
    _PrintString (400 - 25 * 4, 292), "Can you read this? ...zzz" 'press any key for next
    Sleep
Loop
  724  855  599  923  575  468  400  206  147  564  878  823  652  556 bxor cross forever
Reply


Messages In This Thread
Simple Draw poker game - by Helium5793 - 02-22-2025, 02:13 PM
RE: Simple Draw poker game - by bplus - 02-22-2025, 02:22 PM
RE: Simple Draw poker game - by Helium5793 - 02-22-2025, 06:21 PM
RE: Simple Draw poker game - by bplus - 02-22-2025, 08:34 PM
RE: Simple Draw poker game - by Helium5793 - 02-22-2025, 10:34 PM
RE: Simple Draw poker game - by bplus - 02-22-2025, 11:57 PM
RE: Simple Draw poker game - by Helium5793 - 03-03-2025, 01:50 PM
RE: Simple Draw poker game - by bplus - 02-22-2025, 08:53 PM
RE: Simple Draw poker game - by bplus - 02-22-2025, 09:05 PM
RE: Simple Draw poker game - by bplus - 02-22-2025, 09:16 PM
RE: Simple Draw poker game - by Helium5793 - 03-03-2025, 02:05 PM
RE: Simple Draw poker game - by bplus - 03-03-2025, 02:16 PM
RE: Simple Draw poker game - by Helium5793 - 03-04-2025, 12:30 AM
RE: Simple Draw poker game - by bplus - 03-04-2025, 12:56 AM
RE: Simple Draw poker game - by SMcNeill - 03-04-2025, 02:12 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Yoker... A Yahtzee / Poker twist (newest) dcoterel 0 421 07-12-2025, 05:29 AM
Last Post: dcoterel
  Drop Slicer - Simple gaming fun! RokCoder 22 4,336 10-07-2024, 07:26 PM
Last Post: Pete
  A very simple game of matches Delsus 0 542 05-19-2024, 04:39 PM
Last Post: Delsus
  Steve's Poker Playhouse SMcNeill 0 588 12-30-2023, 08:07 PM
Last Post: SMcNeill

Forum Jump:


Users browsing this thread: 1 Guest(s)