Advertisement

Multiplayer tools for a card game

Started by November 16, 2014 07:31 PM
0 comments, last by hplus0603 10 years ago

Hello everyone!

I'm trying to create a simple multiplayer card game based on a board game I played recently (7 Wonders), which I currently cannot afford. I want to achieve the following:

- a user should be able to log in (just by entering his username, no checks made)

- upon login a player should be able to choose "a board"

- after choosing he should see his cards, his board, the other players' board (oriented towards him) and the cards (the ones facing up on the table during game)

- playing a card could be just right click + place down OR mouse drag it on the table

- a way of passing all cards to the next player after each played card

I just plan to play it with my friends (3-5 ppl). The game can/should only be available while I'm online (can also host it on a VM like cloud9 or a paas like heroku).

I've worked with: Python, Java, C/C++, HTML/CSS, JavaScript, AngularJS, Django, Flask.

What technologies would you recommend me for achieving what I wrote above and based on my knowledge?

Thank you,

Iulian

The simplest way is probably to use node.js and socket.io. Or a slightly higher-level back-end interactive framework like Meteor, which is still JavaScript based.
The reason I recommend these is that the node/websocket integration is very simple to work with, and keeping with JavaScript on front- and back-end makes it easy to do things like share the rules between front-end and back-end.
Use whatever HTML front-end framework you're familiar with. HTML5 with JavaScript supports drag/drop.
enum Bool { True, False, FileNotFound };

This topic is closed to new replies.

Advertisement