Giter VIP home page Giter VIP logo

wikigame's People

Contributors

azaky avatar erlanggawulung avatar muzavan avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

wikigame's Issues

game not working

When i try to start up the game i get a small red error

Is this project still being supported or is there an easy fix for this?

Schermafbeelding 2022-12-12 om 10 55 48

Public "always-on" room and fun game modes

Just throwing some ideas here

It's nice to have a default public room that's always available? Similar to the public room in thewikigame.com.

The features/behavior (as of now, that I can think of):

  • There's no host. Articles are selected randomly by the server (and in such a way that the goal article is not extremely hard to reach)
  • One can join by clicking a certain button on the popup page (e.g. "Join Public Room")
  • Time limit is fixed (120s) and every fixed amount of seconds later (10?) a new round will be automatically started
  • The leaderboard can be a rolling leaderboard, e.g. refreshed daily
  • Maybe we can set multiple rooms based on scoring metrics, i.e. when clicking "Join Public Room", the user is prompted to select which room, based on the scoring (time, clicks, or combined)

Also this way, we can introduce some rooms which have special rules. For example:

  • 5 clicks to Hitler (an additional rule of click limit should be introduced)
  • 30 seconds to Japan
  • The world without G8, i.e. G8 countries articles (France, Germany, Italy, the United Kingdom, Japan, the United States, Canada, and Russia) are banned
  • and many more that you can think of

Add popup

At the current stage, the only way to start a game is to include ?roomId=... in the URL. This is a good way to join a game via link sharing, but it's not a really great experience when a user wants to start a new game.

A simple popup containing a minimal form (name & room) is needed. Something like this:

D11c331969dacc71d571103255e1c6065

To help getting started, here's the guide for creating Chrome extension popup: https://developer.chrome.com/extensions/user_interface#popup

Beta-testing issues and ideas (Oct 12)

The following are several bugs/issues/ideas found on beta-testing on Oct 12.

Issues:

  • possible cheat when using Wikipedia search on the starting article
  • start/target articles should not be banned
  • disambiguation articles should not be target articles (possibly allow on start?)
  • disconnect when alert shows up (e.g. round finished/viewing other's results)
  • certain articles are not redirected properly (example: AA_cell not redirected to AA_Battery, when the target is AA_Battery)
  • starting articles counted as 1 click (intermittent, but almost always)
  • on a rare case, when the delay between updating the start article and starting the game is very short, players are redirected to the old starting article instead (possibly the local state has not been updated yet)

Ideas:

  • add rules: disable category pages
  • add rules: disable navigational pages
  • add rules: allow back (counted as 1 click)

Misc:

  • new players should be added to leaderboards immediately with a score of 0
  • add a visual indicator to inform which players are online
  • (internal) disambiguation checks should be performed in server-side rather than client-side

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.