Skip to content

Semblance is a web based game, where you have to describe pictures in words

License

Notifications You must be signed in to change notification settings

deepto98/semblance-game

Repository files navigation

Semblance

Semblance is a web based game, where you see an image, and have to describe it in words.
Link : https://semblance-game.herokuapp.com/

Screenshot

Stack

  • Golang to create the server, run the game, use external APIs and for HTML templating
  • Random Image API to fetch a random image via a http request
  • Azure Cognitive Services' Computer Vision API to generate tags for each image
  • For the UI, I used Webflow, much improvement is needed there though 😂

Local Installation

  1. To run Semblance locally, you must have access to an Azure Computer Vision instance, you can create one from here Once created, get the API Key and Endpoint from Resource Management > Keys and Endpoint

  2. If Go isn't installed, set it up following this

  3. Clone this repository, via HTTPS or SSH

    git clone https://github.com/deepto98/semblance-game.git
    
  4. Open .env and add your api key and endpoint

    # Add the Computer Vision key here
    COMPUTER_VISION_KEY=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
    # Add the Computer Vision endpoint here
    COMPUTER_VISION_ENDPOINT=https://sampleapp.cognitiveservices.azure.com
    
  5. Install dependencies

    go mod tidy
    
  6. Build and run the app

    go build .
    go run .
    
  7. If all has gone well, you should be able to play the game at localhost

Acknowledgement

License

About

Semblance is a web based game, where you have to describe pictures in words

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published