iris-battleship


Follow
0
Star
0
Details
Releases
Issues
This application is not supported by InterSystems Corporation. Use it at your own risk.

What's new in this version

Now with a demo at azure and two player mode working fine

iris-battleship

Why not a game in contest?

Have you ever played Battleship?

Battleship is a guessing game for 2 players.

picture

You can try here:

http://iris-battleship.eastus.cloudapp.azure.com/new

Screenshot

picture

Rules

To be played by 2 people. On first screen we have a URL that should be sent to the another player. After sending this URL, you can click on the link to arrange your ships on the map. Finished arranging you just click on save link and start guessing. The upper map is where you can click / touch the map to try drown your enemy's ships. On the lower map you can follow how your enemy is shooting you.

Architecture

I made the frontend using HTML5 + Javascript, and to connect to Iris I use python + IRIS Native API.

How to run in your own machine

Prerequisites

  • git
  • docker and docker-compose
  • access to a terminal in your environment

Installing

After cloning this repo open a terminal go to the iris-battleship folder and type these commands:

git clone https://github.com/renatobanzai/iris-battleship

Running in linux and MacOS

docker-compose build

docker-compose up

After this, go to the address:

http://localhost/new

Category
Technology Example
Works with
InterSystems IRIS
Tags
Info
Version
1.0.0
Last updated
2020-10-11
Repository
Open
Documentation
Open
License
Link