Skip to content

A web multiplayer Tron game like with curves

License

Notifications You must be signed in to change notification settings

sengjea/curvytron

 
 

Repository files navigation

Curvytron

A web multiplayer Tron game like with curves

Building for Development

From a fresh clone

nvm install 10.13.0
nvm use
npm install
./node_modules/.bin/gulp

Run the game with:

node bin/curvytron.js

Installation


Wanna help?


We need to go deeper

Deploying

Create all the necessary infrastructure in terraform by doing:

cd terraform
    terraform init \
        -backend-config="bucket=<tf backend bucket>" \ 
        -backend-config="dynamodb_table=<tf dynamodb table>"
    terraform apply [-var acm_certificate_arn="<acm arn>"]
cd -

Note that the variable acm_certificate_arn is optional.

Whenever you want to deploy a new version:

aws ecr get-login-password --region eu-west-2 | docker login --username AWS --password-stdin <ecr repo>

docker build . -t <ecr repo>
docker push <ecr repo>

cd terraform
    terraform taint aws_ecs_task_definition.curvytron
    terraform apply [-var acm_certificate_arn="<acm arn>"]
cd -

About

A web multiplayer Tron game like with curves

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 62.9%
  • CSS 29.5%
  • HTML 7.0%
  • Other 0.6%