Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email
?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Home
About
Team
Rules
Stats
Status
Sitemap
Chat
Downloads
Forum
News
Our Projects
Major Community Projects
Recent Posts
Unread Posts
Replies
Tools
SourceCoder3
Other Things...
Omnimaga Radio
TI-83 Plus ASM File Unsquisher
Z80 Conversion Tools
IES TI File Editor
Free RAM areas
Comprehensive Getkeyr table
URL Shortener
Online Axe Tilemap Editor
Help
Contact Us
Change Request
Report Issue/Bug
Team
Articles
Members
View the memberlist
Search For Members
Buddies
Login
Register
Omnimaga
»
Forum
»
Calculator Community
»
Other Calc-Related Projects and Ideas
»
TI-Nspire
»
[Lua] UNO (THE [card]game)
« previous
next »
Print
Pages: [
1
]
2
3
4
Go Down
Author
Topic: [Lua] UNO (THE [card]game) (Read 22829 times)
0 Members and 2 Guests are viewing this topic.
Nick
LV9
Veteran (Next: 1337)
Posts: 1166
Rating: +161/-3
You just got omnom'd
[Lua] UNO (THE [card]game)
«
on:
December 26, 2012, 04:35:59 am »
Hi everyone
As you may have (or may not have) noticed I was gone for quite a while, about 6 months i guess. I came to visit now and then, but never actually reacted to something or made something new. But that's changed, 'cause I'm back in bussiness! I just had about enough of any calc related stuff for a while... but since I'm having exam stress right now, I needed something to relax, so I started a new program/game. You probably know it, it's the most famous/fun/hilarious/etc. cardgame existing, UNO!
I just started yesterday, but I suppose it's kinda finished, so I would ask you guys a favor to test it if you want. Any bugs/glitches/crashreporst may be posted here or in pm (thanks).
It's two version, a normal one and a small one. The images take up quite a lot of memory, so I made one with smaller images, and it runs slightly faster, but it's not as good looking as the normal one (the gameplay and code is exactly the same, just the images changed).
Here are some eye-candies:
the first one is from the normal version, the other ones are from the small version.
controls:
[r]eset
[.] move to next player (i did not let this go automatically because now you can follow what each player does --> you can think what cards are left)
[<][>] select card from own collection to lay down on pile
[enter] confirm card you want to lay down (there's a check to see if it is legit to lay that card, so no cheating should be possible)
[esc] another reset
[tab] take card from pack if you cannot lay down one that fits
edit: [enter] without any selection makes you skip, that is when you cannot lay any card that is legit.
also, the black bar indicates the player that is on the move.
And it has 3 AI's obviously, you are the one with the shown cards, the other ones pick their cards themselves.
Any questions, remarks, bugs, glitches may be posted
greetings,
Nick
P.S. it feels good to be back, i missed it
Found bugs/mistakes/glitches:
- Number 0 as card not available
- Ndless loop when only one Player (AI) left
It seems like some people have different rules than the standard ones, if so, note them, i'll try to add them to a settings dialog
- 2 of exact the same cards can be laid down at the same time
- If another player lays down a card, you can lay down exactly the same one if you have it (even if it's not your turn)
«
Last Edit: December 28, 2012, 02:10:27 am by Nick
»
Logged
+8/-0 karm for this message
Hayleia
Programming Absol
Coder Of Tomorrow
LV12
Extreme Poster (Next: 5000)
Posts: 3367
Rating: +393/-7
Re: [Lua] UNO (THE [card]game)
«
Reply #1 on:
December 26, 2012, 04:39:31 am »
Welcome back Nick, have some peanuts
Spoiler
For
peanuts
:
Also, you come back with a great game here, congrats
Logged
I own: 83+ ; 84+SE ; 76.fr ; CX CAS ; Prizm ; 84+CSE
Sorry if I answer with something that seems unrelated, English is not my primary language and I might not have understood well. Sorry if I make English mistakes too.
click here to know where you got your last +1s
Nick
LV9
Veteran (Next: 1337)
Posts: 1166
Rating: +161/-3
You just got omnom'd
Re: [Lua] UNO (THE [card]game)
«
Reply #2 on:
December 26, 2012, 04:56:39 am »
Thanks for the peanuts Hayleia, i never really got one of those, but now i have
And thanks, it might look good, the code's dirty..but it works (I hope)
Logged
Lionel Debroux
LV11
Super Veteran (Next: 3000)
Posts: 2135
Rating: +290/-45
Re: [Lua] UNO (THE [card]game)
«
Reply #3 on:
December 26, 2012, 05:15:22 am »
I've just posted a tip at
http://tiplanet.org/forum/viewtopic.php?f=17&t=10982
, so as to reach the French-speaking community and bring you more testers
Logged
Member of the
TI-Chess Team
.
Co-maintainer of
GCC4TI
(
GCC4TI online documentation
),
TILP
and
TIEmu
.
Co-admin of
TI-Planet
.
Nick
LV9
Veteran (Next: 1337)
Posts: 1166
Rating: +161/-3
You just got omnom'd
Re: [Lua] UNO (THE [card]game)
«
Reply #4 on:
December 26, 2012, 05:18:17 am »
Thanks for that Lionel, that might come in handy indeed.
Oh and btw, I know there's no start/end screen, but i'll look into that later, i just want to have the 'game-engine' done for now.
Logged
TIfanx1999
ಠ_ಠ ( ͡° ͜ʖ ͡°)
CoT Emeritus
LV13
Extreme Addict (Next: 9001)
Posts: 6173
Rating: +191/-9
Re: [Lua] UNO (THE [card]game)
«
Reply #5 on:
December 26, 2012, 05:48:18 am »
Hey Nick, welcome back. I don't have an Nspire to test, but it does look quite nice!
Logged
Adriweb
Editor
LV10
31337 u53r (Next: 2000)
Posts: 1708
Rating: +229/-17
Re: [Lua] UNO (THE [card]game)
«
Reply #6 on:
December 26, 2012, 07:29:38 am »
Wow, looks awesome
Will try very soon !
Logged
My calculator programs
TI-Planet.org
co-admin.
TI-Nspire Lua programming
:
Tutorials
|
API Documentation
ElementCoder
LV7
Elite (Next: 700)
Posts: 611
Rating: +42/-2
Re: [Lua] UNO (THE [card]game)
«
Reply #7 on:
December 26, 2012, 01:42:49 pm »
Nice work nick
Will try this for sure.
Logged
Some people need a high five in the face... with a chair.
~EC
Sorunome
Fox Fox Fox Fox Fox Fox Fox!
Support Staff
LV13
Extreme Addict (Next: 9001)
Posts: 7920
Rating: +374/-13
Derpy Hooves
Re: [Lua] UNO (THE [card]game)
«
Reply #8 on:
December 26, 2012, 03:41:57 pm »
This is cool! Don't forget to add cards like the 4+ and color chosing
Logged
THE GAME
Also, check out
my website
If OmnomIRC is screwed up, blame me!
Click here to give me an internet!
Nick
LV9
Veteran (Next: 1337)
Posts: 1166
Rating: +161/-3
You just got omnom'd
Re: [Lua] UNO (THE [card]game)
«
Reply #9 on:
December 26, 2012, 03:47:22 pm »
I added those, +4 looks like +4, +2 like +2, switch direction (or whatever you may call it) is §, change color is # and skip player is X
that way i could just use the ascii charset to display the cards (a lot easier and no special cards had to be made)
btw the right screenshot with the colors is when you lay down a colorchanger or a +4, so you can select the wanted color.
overview:
[1-9] standard
[§] switch direction
[# ] change color
[X] skip next player
[+4/+2] obvious
«
Last Edit: December 26, 2012, 03:48:11 pm by Nick
»
Logged
Sorunome
Fox Fox Fox Fox Fox Fox Fox!
Support Staff
LV13
Extreme Addict (Next: 9001)
Posts: 7920
Rating: +374/-13
Derpy Hooves
Re: [Lua] UNO (THE [card]game)
«
Reply #10 on:
December 26, 2012, 03:53:47 pm »
uno cards are 0-9
Logged
THE GAME
Also, check out
my website
If OmnomIRC is screwed up, blame me!
Click here to give me an internet!
Nick
LV9
Veteran (Next: 1337)
Posts: 1166
Rating: +161/-3
You just got omnom'd
Re: [Lua] UNO (THE [card]game)
«
Reply #11 on:
December 26, 2012, 03:55:45 pm »
darn, then i'll have to add the 0, i totally forgot about that one xp
and damned, that'll f*ck shit up.. i use the 0 as a not-legit card in my code, so that'll have to change
Logged
Sorunome
Fox Fox Fox Fox Fox Fox Fox!
Support Staff
LV13
Extreme Addict (Next: 9001)
Posts: 7920
Rating: +374/-13
Derpy Hooves
Re: [Lua] UNO (THE [card]game)
«
Reply #12 on:
December 26, 2012, 03:57:07 pm »
don't forget to make that when somebody lays +4 the next person can lay another +h or a +2 in the wished color and then the next person has to draw more cards etc
Logged
THE GAME
Also, check out
my website
If OmnomIRC is screwed up, blame me!
Click here to give me an internet!
Nick
LV9
Veteran (Next: 1337)
Posts: 1166
Rating: +161/-3
You just got omnom'd
Re: [Lua] UNO (THE [card]game)
«
Reply #13 on:
December 26, 2012, 03:59:22 pm »
i read the rules, and these are the legit combinations:
+2 on every +2 and every card with same color
+4 on every card (including +4 and +2, color doesn't matter)
i check the last cards in the pile to see how many +4/+2's there are, and add as many cards as needed (or at leest it should do so)
what's +h ?
Logged
Sorunome
Fox Fox Fox Fox Fox Fox Fox!
Support Staff
LV13
Extreme Addict (Next: 9001)
Posts: 7920
Rating: +374/-13
Derpy Hooves
Re: [Lua] UNO (THE [card]game)
«
Reply #14 on:
December 26, 2012, 04:02:04 pm »
I meant +4, stupid typo >.>
And i thoguth the color of +2 matter for laying after a +4
* Sorunome played it wrong all the years
And
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
Logged
THE GAME
Also, check out
my website
If OmnomIRC is screwed up, blame me!
Click here to give me an internet!
Print
Pages: [
1
]
2
3
4
Go Up
« previous
next »
Omnimaga
»
Forum
»
Calculator Community
»
Other Calc-Related Projects and Ideas
»
TI-Nspire
»
[Lua] UNO (THE [card]game)