Skip to content
This repository has been archived by the owner on Oct 9, 2023. It is now read-only.
/ curvytron Public archive
forked from Ludecat/curvytron

A web multiplayer Tron game like with curves

License

Notifications You must be signed in to change notification settings

carsso/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

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 63.1%
  • SCSS 28.8%
  • HTML 7.5%
  • Other 0.6%