1
0

cards 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. # cards
  2. clr
  3. minut += 10
  4. gs 'stat'
  5. '<right><img <<$set_imgh>> src="images/locations/city/industrial/casino/zalcart.jpg"></right>'
  6. 'In the hall a lot of free games tables in Blackjack and Casino Wars.'
  7. act 'To the table game Blackjack':gt 'blackjackPlay', 'new'
  8. act 'To the table games in Casino War':gt 'kazvar'
  9. act 'Back in the hall':gt 'hall'
  10. !!SYMBOLS
  11. !! ♥
  12. !! ♠
  13. !! ♦
  14. !! ♣
  15. !!deck of cards
  16. $suit[1] = 'Spades'
  17. $symbol[1] = '♠'
  18. $suit[2] = 'Clubs'
  19. $symbol[2] = '♣'
  20. $suit[3] = 'Hearts'
  21. $symbol[3] = '♥'
  22. $suit[4] = 'Diamonds'
  23. $symbol[4] = '♦'
  24. $number[1] = 'Ace '
  25. points[1] = 11
  26. $number[2] = 'Deuce '
  27. points[2] = 2
  28. $number[3] = 'Three '
  29. points[3] = 3
  30. $number[4] = 'Four '
  31. points[4] = 4
  32. $number[5] = 'Five '
  33. points[5] = 5
  34. $number[6] = 'Six '
  35. points[6] = 6
  36. $number[7] = 'Seven '
  37. points[7] = 7
  38. $number[8] = 'Eight '
  39. points[8] = 8
  40. $number[9] = 'Nine '
  41. points[9] = 9
  42. $number[10] = 'Ten '
  43. points[10] = 10
  44. $number[11] = 'Jack '
  45. points[11] = 10
  46. $number[12] = 'Queen '
  47. points[12] = 10
  48. $number[13] = 'King '
  49. points[13] = 10
  50. $number[14] = 'Ace '
  51. points[14] = 11
  52. --- cards ---------------------------------