Skip to content

Draw HTML 5 Suits - #1

Open
farmerbradllc wants to merge 1 commit into
lifewithryan:masterfrom
farmerbradllc:Test
Open

Draw HTML 5 Suits#1
farmerbradllc wants to merge 1 commit into
lifewithryan:masterfrom
farmerbradllc:Test

Conversation

@farmerbradllc

Copy link
Copy Markdown

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
/

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
/
@rheadley

Copy link
Copy Markdown

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.

@farmerbradllc

Copy link
Copy Markdown
Author

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?

@lifewithryan

Copy link
Copy Markdown
Owner

Short term- keep in mind i haven't touched this in ages - i was going to
get just the ability to play with 4 real people...no AI. I wanted it all
to be Web socket driven as well. Eventually build the capability to have a
combination of real players and AI players...and for academic fun...maybe
even allow all AI players just to see what happens :)

Originally i had no real intention of doing much with this beyond using it
to learn...but i must say, hearing from you kinda puts a fire under my
butt. Can't wait to actually checkout your code and fire this up :)

What about you? Ideas?
On Jan 24, 2013 10:29 AM, "Bradley Wood" notifications@github.com wrote:

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?


Reply to this email directly or view it on GitHubhttps://github.com//pull/1#issuecomment-12659475.

@lifewithryan

Copy link
Copy Markdown
Owner

One more thing that'd be cool...allow people to extend the app and pit
their various AIs against each other. (probably some next level stuff, and
not even sure how feasible that'd be -- maybe a completely separate project
-- but it'd be cool)

On Thu, Jan 24, 2013 at 4:08 PM, Ryan Headley lifewithryan@gmail.comwrote:

Short term- keep in mind i haven't touched this in ages - i was going to
get just the ability to play with 4 real people...no AI. I wanted it all
to be Web socket driven as well. Eventually build the capability to have a
combination of real players and AI players...and for academic fun...maybe
even allow all AI players just to see what happens :)

Originally i had no real intention of doing much with this beyond using it
to learn...but i must say, hearing from you kinda puts a fire under my
butt. Can't wait to actually checkout your code and fire this up :)

What about you? Ideas?
On Jan 24, 2013 10:29 AM, "Bradley Wood" notifications@github.com wrote:

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?


Reply to this email directly or view it on GitHubhttps://github.com//pull/1#issuecomment-12659475.

http://www.sudovi.com/
http://www.twitter.com/lifewithryan
http://www.thecommontongue.com
http://www.lifewithryan.com/

@farmerbradllc

Copy link
Copy Markdown
Author

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?

@farmerbradllc

Copy link
Copy Markdown
Author

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

@lifewithryan

Copy link
Copy Markdown
Owner

I'll have to look at the code, but I'm pretty the dealing/shuffling is done
-- unless I'm thinking of when I tried this in python. (i really like
euchre).

I will try to find some time this weekend to look at the code. I may even
have more local code that needs to be pushed.
On Jan 24, 2013 5:40 PM, "Bradley Wood" notifications@github.com wrote:

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?


Reply to this email directly or view it on GitHubhttps://github.com//pull/1#issuecomment-12680331.

@farmerbradllc

Copy link
Copy Markdown
Author

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.

@lifewithryan

Copy link
Copy Markdown
Owner

Okay -- it looks as if I am not currenlty taking into account the leftover
cards. (Must've been in my python project).

I do actually have the deal logic so that the four players get their cards,
but I certainly need to take into account the kitty cards -- at least the
top one. Maybe I'll work on that...

Also looking into a github page...

On Thu, Jan 24, 2013 at 4:09 PM, Ryan Headley lifewithryan@gmail.comwrote:

One more thing that'd be cool...allow people to extend the app and pit
their various AIs against each other. (probably some next level stuff, and
not even sure how feasible that'd be -- maybe a completely separate project
-- but it'd be cool)

On Thu, Jan 24, 2013 at 4:08 PM, Ryan Headley lifewithryan@gmail.comwrote:

Short term- keep in mind i haven't touched this in ages - i was going to
get just the ability to play with 4 real people...no AI. I wanted it all
to be Web socket driven as well. Eventually build the capability to have a
combination of real players and AI players...and for academic fun...maybe
even allow all AI players just to see what happens :)

Originally i had no real intention of doing much with this beyond using
it to learn...but i must say, hearing from you kinda puts a fire under my
butt. Can't wait to actually checkout your code and fire this up :)

What about you? Ideas?
On Jan 24, 2013 10:29 AM, "Bradley Wood" notifications@github.com
wrote:

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?


Reply to this email directly or view it on GitHubhttps://github.com//pull/1#issuecomment-12659475.

http://www.sudovi.com/
http://www.twitter.com/lifewithryan
http://www.thecommontongue.com
http://www.lifewithryan.com/

http://www.sudovi.com/
http://www.twitter.com/lifewithryan
http://www.thecommontongue.com
http://www.lifewithryan.com/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants