Sign inSign up

muratartim/eclipsetactics_client

By muratartim

•Updated almost 6 years ago

Client desktop application container for the online strategy game 'Eclipse Tactics'.

Image
0

299

muratartim/eclipsetactics_client repository overview

⁠EclipseTactics

EULA License HitCount Java Version DockerHub

Desktop app of the online strategy game 'Eclipse Tactics'. Eclipse Tactics is a multiplayer, turn-based, online strategy game in a sci-fi theme. Create your own special teams from a large number of fully customizable units. Deploy your base and units, and destroy your opponent! Check out the game at http://www.eclipsetactics.com⁠

⁠Screenshots

Screenshots below demonstrate some of the battle fields and player lobbies.

screenshot1      screenshot2 screenshot3      screenshot4 screenshot5      screenshot6

⁠Video demonstrations

Check out the trailer below to see a brief demo of game-play and all we got for you!

Eclipse Tactics Trailer

⁠How to run the project on IDE

You would need to specify the following VM arguments in order to run the application in the development environment.

⁠Main class
eclipse.MainFrame
⁠VM arguments
-Xms512m -Xmx2048m -XX:+UseStringDeduplication -Xverify:none -server -XX:+UseParallelGC

⁠How to run on Docker container

You can run the client desktop application on Docker container. As Docker does not provide graphics environment, it is necessary to install X windowing system.

⁠macOS
  1. Download & install Docker Desktop on Mac⁠.
  2. Download & install the X windowing system XQuartz⁠.
  3. Setup XQuartz to allow connections from network clients: Preferences -> Security -> Allow connections from network clients.
  4. Download & run the script eclipsetactics_docker_client_mac.sh⁠:
sh eclipsetactics_docker_client_mac.sh
⁠Linux
  1. Download & install Docker CE on Linux⁠.
  2. Download & run the script eclipsetactics_docker_client_linux.sh⁠ with root priviledges:
sudo sh eclipsetactics_docker_client_linux.sh

⁠How to run the server-side platform using Docker Compose

  1. Download sample data for SQL server: sample data⁠
  2. Create directory 'backups' and copy the downloaded 'sql_data.tar' file into the directory.
  3. Create a named volume by executing the following command outside of 'backups' directory:
docker container run --rm -v eclipsetactics_sql_data:/dbdata -v $(pwd)/backups:/backup ubuntu bash -c "cd /dbdata && tar xvf /backup/sql_data.tar --strip 1"
  1. Create & start the whole platform from where the docker-compose.yml file is located⁠:
docker-compose up
  1. Stop & remove the platform from where the docker-compose.yml file is located:
docker-compose down

⁠How to deploy the server-side platform on AWS with single EC2 instance

  1. Download the Deployment Template File One-Instance-Arch-CloudFormation.yml⁠.
  2. Validate the template by running the following command (from where the Deployment Template File is located):
aws cloudformation validate-template --template-body file://./One-Instance-Arch-CloudFormation.yml
  1. Create an AWS CloudFormation Stack using the following command (from where the Deployment Template File is located). Note that, this command will deploy the platform using the default parameters (which are valid for the 'eu-central-1' AWS Region).
aws cloudformation create-stack --stack-name eclipsetactics --template-body file://./One-Instance-Arch-CloudFormation.yml
  1. Delete & rollback the stack as follows:
aws cloudformation delete-stack --stack-name eclipsetactics

This will deploy the platform on AWS utilizing the following architecture:

EclipseTactics_One_Instance_AWS_Architecture

⁠Full stack server-side deployment on AWS

  1. Download the Deployment Template File Full-Stack-High-Availability-Arch-CloudFormation.yml⁠.
  2. Validate the template by running the following command (from where the Deployment Template File is located):
aws cloudformation validate-template --template-body file://./Full-Stack-High-Availability-Arch-CloudFormation.yml
  1. Create an AWS CloudFormation Stack using the following command (from where the Deployment Template File is located). Note that, this command will deploy the platform using the default parameters (which are valid for the 'eu-central-1' AWS Region).
aws cloudformation create-stack --stack-name eclipsetactics --template-body file://./Full-Stack-High-Availability-Arch-CloudFormation.yml
  1. Delete & rollback the stack as follows:
aws cloudformation delete-stack --stack-name eclipsetactics

This will deploy the platform on AWS utilizing the following architecture:

EclipseTactics_Full_Stack_AWS_Architecture

Tag summary

Content type

Image

Digest

Size

288.2 MB

Last updated

almost 6 years ago

docker pull muratartim/eclipsetactics_client