Git Product home page Git Product logo

games-ai-ui's Introduction

Games AI UI

What is it?

This is a prototype web application built with react js to provide UI for strategy games that could be played against an AI.

The AI itself runs in the backend web service - https://github.com/cant12/games-ai

You can find the most recent version at http://play.gamesai.co.in

How do I set up?

Its simple!

Copy the local config properties

cd games-ai-UI
cp src/resources/config-local.json src/resources/config.json

Install node dependencies and start the server

npm install
npm start

Note: Its preferable to have node version 16 or greater.

How do I deploy?

The web server is currently hosted in the aws ec2 instance. At this stage, the deployment is mostly mannual. We might automate it based on future needs.

Get the permission file ("games-ai-key-pair.pem") from the owner and save it in your .ssh folder.

Then, login to the ec2 machine using the following command

./gamesai-ssh

Once you are in, pull the latest code and restart the server using the following steps

cd /opt/games-ai-UI

git checkout main
git pull origin main

npm install

pm2 restart GamesAI

Note: Make sure that the config file ("src/resources/config.json") has the right values before deploying

games-ai-ui's People

Contributors

veeramakalivignesh avatar veeramakali-vignesh avatar

Watchers

Lucian avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.