Semblance is a web based game, where you see an image, and have to describe it in words.
Link : https://semblance-game.herokuapp.com/
- 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 😂
-
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
-
If Go isn't installed, set it up following this
-
Clone this repository, via HTTPS or SSH
git clone https://github.com/deepto98/semblance-game.git
-
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
-
Install dependencies
go mod tidy
-
Build and run the app
go build . go run .
-
If all has gone well, you should be able to play the game at
localhost
- Cognitive Services' Quickstart code