Jump to content

c# colors minigame

- - - - -

  • Please log in to reply
23 replies to this topic

#1
amrosama

amrosama

    Writes binary right handed and hex left handed

  • Members
  • PipPipPipPipPipPipPipPipPip
  • 8,674 posts
hi all,
ive just finished this minigame and i think beginners will find it very usefull, you can learn file io operations, using the random class, timers, and 2d arrays.
this minigame displayes a text of a color (lets say black) but the font color is written in another color (white) and the user will have to choose between the two colors. the true color is should be white.
--note that te questions are read from a text file and more questions can be added.
preview:
Posted Image

*btw, this is my first tutorial ever. any comments on the code or anyting else will be much appreciated.

Attached Files


yo homie i heard you like one-line codes so i put a one line code that evals a decrypted one line code that prints "i love one line codes"
eval(base64_decode("cHJpbnQgJ2kgbG92ZSBvbmUtbGluZSBjb2Rlcyc7"));
www.amrosama.com | the unholy methods of javascript

#2
Guest_Jordan_*

Guest_Jordan_*
  • Guests
It looks good amrosama but it isn't really a tutorial. You don't explain how to do it. Shall I move it to the code section?

#3
amrosama

amrosama

    Writes binary right handed and hex left handed

  • Members
  • PipPipPipPipPipPipPipPipPip
  • 8,674 posts
Yeah sure, i misunderstood
sorry

#4
Xav

Xav

    Writes binary right handed and hex left handed

  • Members
  • PipPipPipPipPipPipPipPipPip
  • 13,118 posts
Of course, tutorials will earn rep...

But it's a nice code sample. It's obviously very basic, but it has the potential to become a complex quiz.
Jordan said:

Good members, like yourself, stick around and post for ages to come!
Mr. Xav | Blog | Forums

#5
xsepx

xsepx

    Newbie

  • Members
  • Pip
  • 2 posts
Nicely done

#6
xsepx

xsepx

    Newbie

  • Members
  • Pip
  • 2 posts
Just what i needed thanks.

#7
Xav

Xav

    Writes binary right handed and hex left handed

  • Members
  • PipPipPipPipPipPipPipPipPip
  • 13,118 posts
I have to say, though, the interface is not very nice. The GroupBox is pointless and the message box is not named. Nothing is aligned, either.
Jordan said:

Good members, like yourself, stick around and post for ages to come!
Mr. Xav | Blog | Forums

#8
amrosama

amrosama

    Writes binary right handed and hex left handed

  • Members
  • PipPipPipPipPipPipPipPipPip
  • 8,674 posts
xsepx: im happy that ive helped you, do you have any request for a tutorial or Code?
santa: interface is for users, this is for programmers. you would better get me a perfect gift because ill be really picky.

#9
Xav

Xav

    Writes binary right handed and hex left handed

  • Members
  • PipPipPipPipPipPipPipPipPip
  • 13,118 posts
I know exactly what you want.
Jordan said:

Good members, like yourself, stick around and post for ages to come!
Mr. Xav | Blog | Forums

#10
amrosama

amrosama

    Writes binary right handed and hex left handed

  • Members
  • PipPipPipPipPipPipPipPipPip
  • 8,674 posts
lol, really??
yo homie i heard you like one-line codes so i put a one line code that evals a decrypted one line code that prints "i love one line codes"
eval(base64_decode("cHJpbnQgJ2kgbG92ZSBvbmUtbGluZSBjb2Rlcyc7"));
www.amrosama.com | the unholy methods of javascript

#11
Xav

Xav

    Writes binary right handed and hex left handed

  • Members
  • PipPipPipPipPipPipPipPipPip
  • 13,118 posts
Yes really. It's gonna be warm, don't worry - hot, even. Nice and hot, just the way you like it.
Jordan said:

Good members, like yourself, stick around and post for ages to come!
Mr. Xav | Blog | Forums

#12
Turk4n

Turk4n

    Writes binary right handed and hex left handed

  • Members
  • PipPipPipPipPipPipPipPipPip
  • 3,847 posts

Santa Claus said:

Yes really. It's gonna be warm, don't worry - hot, even. Nice and hot, just the way you like it.

Is it hot coco?
Posted Image




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users