Author Topic: [Lua] UNO (THE [card]game)  (Read 20348 times)

0 Members and 1 Guest are viewing this topic.

Offline Nick

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1166
  • Rating: +161/-3
  • You just got omnom'd
    • View Profile
    • Nick Steen
Re: [Lua] UNO (THE [card]game)
« Reply #15 on: December 27, 2012, 02:15:27 am »
Every card is in there twice, some special cards more awesome
And if you have one card twice you can lay both at the same time

is that a standard rule? or is that one you invented yourself? i didn't see such a thing in the manual, that's why i ask it (i could've read over it though)

Offline Adriweb

  • Editor
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1708
  • Rating: +229/-17
    • View Profile
    • TI-Planet.org
Re: [Lua] UNO (THE [card]game)
« Reply #16 on: December 27, 2012, 05:49:23 am »
Every card is in there twice, some special cards more awesome
And if you have one card twice you can lay both at the same time

is that a standard rule? or is that one you invented yourself? i didn't see such a thing in the manual, that's why i ask it (i could've read over it though)

I've always played like that :P
So if it'snot written in the official rules it must be something going on among players quite widely :D
My calculator programs
TI-Planet.org co-admin.
TI-Nspire Lua programming : Tutorials  |  API Documentation

Offline Nick

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1166
  • Rating: +161/-3
  • You just got omnom'd
    • View Profile
    • Nick Steen
Re: [Lua] UNO (THE [card]game)
« Reply #17 on: December 27, 2012, 12:37:59 pm »
Well, if it's not official, but widely used, then i should implement that too.
Right now there's only one card of each, so i must have read over that too, guess i'll have to reread the manual and take another look at my pack of cards :)

Thanks for the reaction so far.

Offline Lionel Debroux

  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2135
  • Rating: +290/-45
    • View Profile
    • TI-Chess Team
Re: [Lua] UNO (THE [card]game)
« Reply #18 on: December 27, 2012, 12:40:13 pm »
If there are some widespread deviations to the rules, then indeed, you should probably implement them, and make them disabled by default, but easily activable in a settings dialog :)
Member of the TI-Chess Team.
Co-maintainer of GCC4TI (GCC4TI online documentation), TILP and TIEmu.
Co-admin of TI-Planet.

Offline Nick

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1166
  • Rating: +161/-3
  • You just got omnom'd
    • View Profile
    • Nick Steen
Re: [Lua] UNO (THE [card]game)
« Reply #19 on: December 27, 2012, 12:42:20 pm »
yep, that's indeed the solution. I'll add that question to the first post.
If anyone has some more rules they want to see added, please tell me so!

Offline Sorunome

  • Fox Fox Fox Fox Fox Fox Fox!
  • Support Staff
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 7920
  • Rating: +374/-13
  • Derpy Hooves
    • View Profile
    • My website! (You might lose the game)
Re: [Lua] UNO (THE [card]game)
« Reply #20 on: December 27, 2012, 01:23:24 pm »
Well, if it's not official, but widely used, then i should implement that too.
Right now there's only one card of each, so i must have read over that too, guess i'll have to reread the manual and take another look at my pack of cards :)

Thanks for the reaction so far.
I never read the manual :P
My parents explained it to me, without that rule, then I played with my cusins and they did that rule.
Some other rule that is wildley used but is impossible to implement is that if somebody else lies down a card and you have exactly the same one on your hand you can lay it down no matter if it is your turn, but you need to be quick enough before the next one lays his card.

THE GAME
Also, check out my website
If OmnomIRC is screwed up, blame me!
Click here to give me an internet!

Offline Nick

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1166
  • Rating: +161/-3
  • You just got omnom'd
    • View Profile
    • Nick Steen
Re: [Lua] UNO (THE [card]game)
« Reply #21 on: December 27, 2012, 01:26:23 pm »
Some other rule that is wildley used but is impossible to implement is that if somebody else lies down a card and you have exactly the same one on your hand you can lay it down no matter if it is your turn, but you need to be quick enough before the next one lays his card.

It's not impossible, it'd be just without the 'quick', since you tell the calc when the next player may lay down its card. I could add it, at least i think so :)
« Last Edit: December 27, 2012, 01:26:52 pm by Nick »

Offline epic7

  • Chopin!
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2200
  • Rating: +135/-8
  • I like robots
    • View Profile
Re: [Lua] UNO (THE [card]game)
« Reply #22 on: December 27, 2012, 02:06:24 pm »
Those are some tasty eye candies, nick!

And I'm not familiar with either of those rules, but what do I know, I haven't played this game in years :P

Offline Nick

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1166
  • Rating: +161/-3
  • You just got omnom'd
    • View Profile
    • Nick Steen
Re: [Lua] UNO (THE [card]game)
« Reply #23 on: December 27, 2012, 02:15:21 pm »
Those are some tasty eye candies, nick!

And I'm not familiar with either of those rules, but what do I know, I haven't played this game in years :P

That seems to be a general problem, i guess it's not as popular as i supposed it was :) i played it a lot lately, that's why it came in mind.
And thanks for the compliment, but they should improve in short terms, because i plan to add the settings dialog anyway.
I also would like to change the color select dialog, which is rather dirty right now.
If anyone has an idea on how to make it more beautiful, please say so (sketch, drawing or just tell). Thanks!
« Last Edit: December 27, 2012, 02:15:47 pm by Nick »

Offline Chockosta

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 447
  • Rating: +169/-6
    • View Profile
Re: [Lua] UNO (THE [card]game)
« Reply #24 on: December 27, 2012, 02:44:35 pm »
Wow, this games looks great !
Glad to see you back, by the way.

I've always played like Sorunome, too.
For the color select dialog, I would recommend displaying four empty cards, which represent each color...

Offline Nick

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1166
  • Rating: +161/-3
  • You just got omnom'd
    • View Profile
    • Nick Steen
Re: [Lua] UNO (THE [card]game)
« Reply #25 on: December 27, 2012, 02:47:41 pm »
Wow, this games looks great !
actually, it's quit simple and the code's extremely dirty, i think i'll rewrite it from scratch when i have time.

Glad to see you back, by the way.
Thanks, i'm glad too :)

I've always played like Sorunome, too.
so that makes 3 out of 5, that a majority :)

For the color select dialog, I would recommend displaying four empty cards, which represent each color...

great idea, what if i display 4 colored cards as you say, and to show which one is selected, i draw the colorChange icon (#) or +4 on the selected one. That'll make sure you got the right card and color.

Offline Chockosta

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 447
  • Rating: +169/-6
    • View Profile
Re: [Lua] UNO (THE [card]game)
« Reply #26 on: December 27, 2012, 02:50:11 pm »
For the color select dialog, I would recommend displaying four empty cards, which represent each color...

great idea, what if i display 4 colored cards as you say, and to show which one is selected, i draw the colorChange icon (#) or +4 on the selected one. That'll make sure you got the right card and color.

This seems like a great idea :)

Offline Sorunome

  • Fox Fox Fox Fox Fox Fox Fox!
  • Support Staff
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 7920
  • Rating: +374/-13
  • Derpy Hooves
    • View Profile
    • My website! (You might lose the game)
Re: [Lua] UNO (THE [card]game)
« Reply #27 on: December 27, 2012, 05:18:05 pm »
Maybe you could add options that toggle these extra rules.

THE GAME
Also, check out my website
If OmnomIRC is screwed up, blame me!
Click here to give me an internet!

Offline Nick

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1166
  • Rating: +161/-3
  • You just got omnom'd
    • View Profile
    • Nick Steen
Re: [Lua] UNO (THE [card]game)
« Reply #28 on: December 27, 2012, 05:20:33 pm »
Sorunome i think your own brain is f*cked by the brainf*cking brainf*ck intrepreters xp
j/k Lionel suggested that 10 posts ago :) i'll make a settings dialog to toggle all this stuff.

Offline Sorunome

  • Fox Fox Fox Fox Fox Fox Fox!
  • Support Staff
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 7920
  • Rating: +374/-13
  • Derpy Hooves
    • View Profile
    • My website! (You might lose the game)
Re: [Lua] UNO (THE [card]game)
« Reply #29 on: December 27, 2012, 05:22:04 pm »
activity is so high latley - it is almost impossible to read through dat many topics O.O

THE GAME
Also, check out my website
If OmnomIRC is screwed up, blame me!
Click here to give me an internet!