Skip to content

Multi-player web game, guess the random wiki page !

Notifications You must be signed in to change notification settings

Dorifor/pedant-x

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pédant ∙ x

An attempt to remake the game pédantix / pedantle from @enigmathix

🤨 Concept

Random wiki page, blank words, user types word, if word in text, reveal, if not show semantic similarity.

If title revealed 🏆

Multiplayer (create group and invite friends / colleagues)

📷 Screenshots

pedantox.webm

🤓 Usage

Download the latest release (or build it yourself)

You'll need a word2vec pre-trained binary

Launch the server:

./pedantox -b <mandatory_word2vec_binary> [-p <port>] [-l <lang>] [-v <min_page_views>] [-d]

-b to specify the word2vec pre-trained binary the semantic analyzer will use
-l to indicate language of the app and wikipedia content (default: en)
-v to specify the minimum views a page has to accumulate in the last month to be picked at random (default: 3500)
-d to toggle debug mode

Debug Mode

The debug mode exposes two endpoints :

  • /debug/state returns the AppState as JSON
  • /debug/fetch updates manually the random wiki page

Translations

If you need a translation for another language, you just have to add yours inside translations.json with the lang code and the app translation strings If the lang code provided with the -l flag does not have a translation, it will fallback to english by default.

🪛 Build

  1. Clone the repo
  2. Install the go project dependencies
  3. go build .

🙏 Credits

About

Multi-player web game, guess the random wiki page !

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published