James P. Wright
James P. Wright

Reputation: 9131

Javascript game framework or library for board games?

I am trying to build a card game in Javascript. Currently I am using Raphael to draw my graphics, but I'm bad at math, like really bad. I'm wondering if there is a library or framework out there that would allow me to build a card game in Javascript without having to manually figure out the x and y coordinates of every object I want to draw.

Upvotes: 9

Views: 1744

Answers (1)

sergio
sergio

Reputation: 69027

You could look into a Javascript Game Engine, depending on your exact requirements you should find one for you.

Usually a game engine include facilities to manage sprites, layers, and scene; handle events; easy animations; redrawing regions, detecting collisions, etc.

Render Engine is an open source game engine that seems pretty good. Many more are available under a commercial license.

A list of both open source and commercial game engines is available here, with brief descriptions to allow you to quickly find your way (discarding the not-yet-mature engines and choosing based on features or focus).

Upvotes: 1

Related Questions