Got questions, comments, patches, etc.?
Contact Jason Woofenden
gitweb
/
peach-cgt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5cdd810
)
update comments
author
Jason Woofenden
<jason@jasonwoof.com>
Wed, 26 Oct 2011 22:32:36 +0000
(18:32 -0400)
committer
Jason Woofenden
<jason@jasonwoof.com>
Wed, 26 Oct 2011 22:32:36 +0000
(18:32 -0400)
client.coffee
patch
|
blob
|
history
diff --git
a/client.coffee
b/client.coffee
index
e49c003
..
774e29e
100644
(file)
--- a/
client.coffee
+++ b/
client.coffee
@@
-44,13
+44,14
@@
add_card = (text, x, y) ->
card.draggable stack: '.card'
card.bind 'dragstop', (event, ui) ->
p = card.position()
- #card.children().html("(#{p.left}, #{p.top})")
+ # FIXME tell server (p.left, p.top)
init = ->
if state.auto_shuffle
state.my_cards.shuffle()
state.your_cards.shuffle() # FIXME have the server or other player do this
state.auto_shuffle = false
+ # FIXME tell server
left = 15
top = 450
for card in state.my_cards