keelerm84 / snake-js

A multiplayer implementation of snake with Node.js and HTML5 Canvas
0 stars 0 forks source link

Decisions for the client side #3

Open sethetter opened 11 years ago

sethetter commented 11 years ago

There's a couple things we need to decide about the client side of the application.

  1. Do we want to use a game framework? a. If so, which one?
  2. Do we want to test the client side as well? a. What all should we test?
sethetter commented 11 years ago

So far, I'm thinking if we do use a framework, Jaws looks like a good one that is fairly lightweight and looks easy to work with.

As for number 2, I think we should unit test, but maybe not the canvas state. We may be able to check model states (x y positions) and also that websocket events are firing and being responded to as expected.

Thoughts?