Draw HTML 5 Suits - #1
Conversation
I'm trying to get better at js so I added the HTML5 Canvas to draw the suits. I referenced http://www.html5canvastutorials.com/labs/html5-canvas-playing-card-suits /
|
This is a pretty cool idea -- i haven't had the chance to check it out yet, but I will. This project kinda died for me a while back when my 8 to 5 job got really busy. I'm gonna have to jump back in with this. |
|
Down the road I envision one canvas element that draws the cards, and then you click on the card you want to play. right now I just have a canvas item for each hand. I'm going to work on drag and drop next and to try to draw the cards. What are your ideas for the next step for coding the functionality of the Euchre game? |
|
Short term- keep in mind i haven't touched this in ages - i was going to Originally i had no real intention of doing much with this beyond using it What about you? Ideas?
|
|
One more thing that'd be cool...allow people to extend the app and pit On Thu, Jan 24, 2013 at 4:08 PM, Ryan Headley lifewithryan@gmail.comwrote:
http://www.sudovi.com/ |
|
I guess on another .html page I could work on drawing the stuff for the canvas element. when the cards are dealt is it taking into consideration the cards in the kitty? |
|
Here is a link to more logic examples, even though its in ruby it might help figureout some euchre logic http://www.rubyquiz.com/quiz55.html |
|
I'll have to look at the code, but I'm pretty the dealing/shuffling is done I will try to find some time this weekend to look at the code. I may even
|
|
You could have the content be pushed as a gh-page, then if you go to http://lifewithryan.github.com/js-euchre/ then the index.html page would show up. |
|
Okay -- it looks as if I am not currenlty taking into account the leftover I do actually have the deal logic so that the four players get their cards, Also looking into a github page... On Thu, Jan 24, 2013 at 4:09 PM, Ryan Headley lifewithryan@gmail.comwrote:
http://www.sudovi.com/ |
I'm trying to get better at js so I added the HTML5 Canvas to draw the
suits. I referenced
http://www.html5canvastutorials.com/labs/html5-canvas-playing-card-suits
/