Skip to content

a browser based game written in go and gin, polling a user on what option they think is "better"

Notifications You must be signed in to change notification settings

AngusLogan02/this-or-that

Repository files navigation

This or That

A browser based game written in go which displays two options for the user to pick between. Every user's votes are tallied up and displayed in a graph on the statistics page. It can provide an interesting insight into what the public's favourite things in a particular topic are.

How it Works

This or That works by querying the Wikipedia API to gather every link in a supplied page. It then randomly picks two of these links titles and asks the user to pick between them. I used the links of a given article to generate my data as I thought it would give a good idea of topics related to a specific category.

The statistics page queries the BBolt database for the total times every option in a category has been selected, and displays that information in a bar chart generated by Apache ECharts.

Screenshots

This or That Statistics Page

Technologies Used

About

a browser based game written in go and gin, polling a user on what option they think is "better"

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published