snollygolly / open-hearts

:heart: An open source version of the card game Hearts.
21 stars 4 forks source link

Create dummy client #36

Closed snollygolly closed 8 years ago

snollygolly commented 8 years ago

As we're developing the socket.io parts, we need a way to test specific actions in the game without using the socket.io tester (which sucks) or waiting on the front end logic (which may take a while, or be optimized for playing the game vs. testing it).

We need to create a page with some simple client side JS that will perform common game actions and show us responses/results.

The goal with the dummy client is information gathering, and making testing quick.

cynical89 commented 8 years ago

/console is the dummy client it connects to websockets, ,lets you start a new game, lets you join a game, fetches game data, and lets you get the game state. more functionality to be added as the game progresses