Code Monkey home page Code Monkey logo

gomoku-web-game's Introduction

General Information

Gomoku Web Game

This is a solo continuation of this project with a focus on using object oriented design principles, cutting edge web technologies, and an AGILE development workflow.

Author Information

Installation Instructions

Requirements

To get started you will need the following:

  • Git (last tested using Git v2.38.1)
  • Docker (last tested using Docker v20.10.17)
  • Deno (last tested using Deno v1.27.2, v8 engine v10.8.164.4, and Typescript v4.8.3)
  • Sass (last tested using dart sass v1.56.1)

Installation

Once these have been installed and added to your path, invoke your shell of choice and execute the command:

git clone https://github.com/Ezuharad/Gomoku-Web-Game <download directory>

After executing the above command git should begin downloading from the github repo.

Once this has finished you will need to compile the sass files to css files using sass. Navigate to the project root directory, then execute the command:

sass --no-source-map .\src\public\sass:.\image-src\public\css

This should create a new css folder in the image-src folder which the HTML files will use.
Finally you will need to create a docker image, build it, then run it. First ensure that Docker Desktop is running as a background process, then execute the following command from the project root directory:

docker build ./ -t <image name>

This will build a new docker image from the dockerfile using your own image name.

Use Instructions

Running the Container

To run your docker container, simply execute:

docker run -d -p <port>:9999 <image name> --name <container name>

This should run your new image as a docker container and allow you to access it with your browser of choice.

Accessing the Game

To access the game, first open up powershell and execute:

ipconfig

From here you should see information about your computer's IP address. Locate the one labeled "IPv4 Address" for your network of choice. Once you have found this, enter the ip address followed by the port number you bound the docker process to in your browser of choice

Deactivating the Container

To deactivate your docker container, execute:

docker stop <container name>

gomoku-web-game's People

Contributors

ezuharad avatar

Stargazers

 avatar

Watchers

 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.