Coder Social home page Coder Social logo

virgo_game_of_life's Introduction

Important urls:

[http://localhost:8080/gol/springtime](Spring basic configuration check)

[http://localhost:8080/gol/ping](WebSocket ping endpoint) <Can "Upgrade" only to "WebSocket">

[http://localhost:8080/gol/stock](Spring stock examples endpoint)

[http://localhost:8080/gol/ws/info](WebSocket information)

::::json
{"entropy":2113121810,"origins":["*:*"],"cookie_needed":true,"websocket":true}

[http://localhost:8080/gol/board](Game of Life board)

Build game-of-life

Dockerize the example

::::sh
$ ./gradlew build :app:dockerize

Run the dockerized example

::::sh
$ docker run --rm -it -p 8080:8080 -p 2501:2501 --hostname gol --name gol game-of-life/app

Access the OSGi console of the running container with

::::ssh
$ telnet localhost 2501
OSGi>

virgo_game_of_life's People

Contributors

fwaibel avatar

Stargazers

 avatar Ric Klaren avatar Eric Brusseau avatar

Watchers

Moritz Post avatar jonek avatar Markus Knauer avatar  avatar James Cloos avatar  avatar

Forkers

rasayana

virgo_game_of_life's Issues

Implement GoL engine

This includes the OSGi commands:

  • init [x[,y]] - create a new game with default size, square size or specific size
  • print - print the current game state to the console
  • run [ms] - run the game with the given update interval
  • pause - pause the game
  • next - run a single step
  • toggle x,y - toggle a single field

Implement server-side WebSocket

The goal of this ticket is:

  • migrate the Javascript code to match with the Spring stomp over WebSocket sample. (Stockticker)
  • wire the game engine with the web layer

Add JMX based deployer

As a user I'd like to deploy the server-side bundle with a single script call. (e.g. ./gradlew run)

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.