GithubHelp home page GithubHelp logo

streetviewgame's People

Contributors

anula avatar dependabot[bot] avatar enkait avatar mibpl avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Forkers

enkait

streetviewgame's Issues

Evil overlay, preventing users from accessing UI elements

Sometimes in the Game view, a dark overlay is shown - it seems to be permanent, there is no way to get rid of it other than reloading.

A few things:

  • it happens only sometimes - so probably there is a race conditions somewhere
  • it is permanent and happens on Game view only, so it is most probably the overlay for showing leaderboard
  • typically it works again on reload
  • it always happens when one runs the dev server on Game view and change something in the code causing it to be reloaded (and Ctrl-R helps there as well)

Rendezvous idea: beacon system

This is an idea to help fix #58 in a slightly more interactive way.
The problem is that people who already arrived have nothing to do, and even moving is dangerous because coming back might be hard.
The first idea is that when two players meet they can create a beacon (through an interface of: clicking a "make beacon button" underneath the map, and then clicking on the marker map at the location where you are). The beacon has a randomly chosen radius (maybe instead of random we could let players control it). The beacon adds a few gameplay elements:

  1. The beacon gets added to everyones marker maps. Anyone who's ever close to the beacon gets the ability to teleport back to it (by clicking on its marker in the map). This makes it much less risky to go on an adventure.
  2. Anyone who's within the radius gets feedback that they're in range. This means that players can help other players by setting up beacons.
    After you set up a beacon, you're free to go setup more beacons. However, to make it more challenging, I would restrict where these "extra" beacons can be placed only to points of interest obtained from the maps API (I hope POIs are available in some form). This means when a player arrives at the meetup point, a good strategy for them is to help others by navigating them, then set up a beacon whenever someone arrives, and finally decide together (taking into account both how dificult it will be to get somewhere, and also potential usefulness to players who haven't yet arrived) on another beacon and set out to go there.

Show player list in a nicer way

Maybe somehow overlay on top of street view (so slightly transparent?).

Maybe it should be hidden by default and only show when you made a guess (or when hovered over)?

Also, some additional padding on elements would be nice.

Warn the player when a jump in Rendezvous is too short or entirely impossible.

Rendezvous currently doesn't tell the player when the jump was short or if a location couldn't be found.
To do this we should probably have a Toast component (similar to the Dialog) that will show a semitransparent red toast for e.g. 2 seconds, and clicking it will make it disappear (mousing on should probably stop the countdown for it to disappear).

Depends on the first version of Rendezvous: #37 .

Make rendezvous endgame less tedious somehow

One idea: once more than half (or some other percentage) of the players are close to each other, show a circle on each player's map centered on the rendezvous point, and extending to the furthest player. The goal is to make it easier for players to figure out where they are, but without changing the gameplay substantially.

Add end to end tests for most common flows

And if possible to put some of these in a unit test, even better, since I haven't yet figured out how to run e2e tests on publish.

  • Creating a room
  • Creating a room and starting a game
  • Joining a room
  • Joining a room and the game gets started
  • Joining non-existing room -> should redirect to main
  • Joining lobby/game link of already started game -> should redirect to main with a message first
  • Joining lobby/game link of non-existing -> should redirect to main with a message first
  • Joining lobby/game link of existing but not yet started game -> should redirect to join the room without a message

Add a "Versus" game mode

The basic idea is that in this mode the location is chosen by one of the players and the others try to guess it.

Things to figure out are:

  • how scoring works
  • when/how does the player choose the location
  • how to make the round not too boring for the player that choose the location? (they probably should see where people are guessing, live)
  • when and how do the players choose a location (everyone at the same time at the beginning of the game? everyone separately as each round starts?)

Make refresh work - add "Connecting..." dialog until we get user data

Currently, when trying to refresh Lobby, it shows "Connection problem" dialog, since we assume that UID is already in the store.

But on refresh, current's view code wins, and UID is not there yet. Instead, we should show "Connecting..." dialog until all client info is filled in (just UID) and only then render the page.

Add a Rendezvous game mode

In Rendezvous, each player starts at a different location. The objective is for all players to converge to a single location in as short a time as possible. To do this players can use normal streetview movement, but they can additionally use special jump buttons that allow them to travel a predetermined distance in the direction they are currently facing (e.g. 500km). On victory/timeout a map screen will show each player's path (a timelapse would be nice! but that's not for the minimal viable game).

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.