Skip to content

An implementation of the Codenames card game, in the browser

Notifications You must be signed in to change notification settings

alexlafroscia/codenames

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CodeNames

Build Status

Installation

Note: It is assumed that you already have yarn installed on your computer. This project uses features available in yarn that are not supported in npm, so if you need it, please install it.

  1. Clone the repo
  2. Run yarn install in the project root

Development

Running Locally

Run yarn start in the project root to start both the server and client.

yarn start can also be run in either package individually, to run just that part of the project.

Project Structure

The repository contains both the API server, written with GraphQL, and the Client, written in ???; they can be found in the packages/server and packages/client directories respectively.

These packages are managed by lerna, a tool that helps packages within a single repository depend on each other. It also provides helpful commands for running commands within each package from the top level. Additionally, this project leverages yarn workspaces to make managing dependencies through lerna easier.

Server

The server is a Node.js application leveraging apollo-server to implement a GraphQL interface to the game. It is written in TypeScript in order to benefit from the better development experience and increased productivity of working with well-defined types.

Tests

Run yarn test in either package, or in the project root, to run the tests.

About

An implementation of the Codenames card game, in the browser

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages