Giter Club home page Giter Club logo

fursorger's People

Contributors

dependabot-preview[bot] avatar dependabot[bot] avatar github-actions[bot] avatar knoffi avatar mkraenz avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

fursorger's Issues

Project setup

  • parvenu copied and names changed
  • git setup
    • proSingularity
    • knoffi
  • working CI
    • set repository variables
  • working CD
    • github pages -> #3
    • docker hub fursorger repo
  • github labels set
  • starred github repo
    • proSingularity
    • knoffi
  • can develop on machines of both developers
    • proSingularity
    • knoffi
  • made Knoffi a contributor
    • send invitation
    • knoffi accepts
  • included useful github plugins

Refactor file upload to js-only

Background

  • added static, invisible (but still clickable) input button for json file uploads to html
  • the button is only used for a split second on clicking "Load Level File"

Resources

https://www.w3schools.com/jsref/tryit.asp?filename=tryjsref_text_create

Acceptance criteria

  • the input button only exists for the time it is actually needed
  • javascript only

Value

  • avoid mismatching strings between JS and HTML
  • work in a single code position (js only)
  • user cannot incidentally click the hidden button (avoids confusion)

As a Player I want information on the cities economy

User perspective

  • I start the game
  • I see the three important values stock, consumption, production on each city

Acceptance criteria

  • economy values are shown for each city
  • the values are displayed close to the city on the graph

As a User I want a second level

Acceptance criteria

  • four cities
  • more challenging than lvl 1
  • can go there by button click from lvl 1
  • can go back by button click to lvl 1
  • work towards general solution

As a Level designer I want to set the players start city

Acceptance criteria

  • player can set start city in .json files via startingLocation property
  • refactor json to have player field according to
    "player": {
        "stock": 4,
        "location": "Wolfsburg"
    }
  • can set start location in editor mode

Original

looking at this, it might make sense to allow this to be set in the json files as well. Good follow-up task (so no action required right now)

Originally posted by @proSingularity in https://github.com/proSingularity/fursorger/pull/76/files

As a Player I carry a stock with me

User perspective

  • I am a player (= a Fursorger)
  • I carry a stock of wares with me
  • the stock (a number) is shown on the screen
  • when I move to another city the stock stays unchanged

As a user I want an editor mode

  • user can choose city economies separately
  • user can choose the set of cities
  • user can choose city graph
  • user can choose position of city buttons
  • make chosen parameters to json-file
  • export from editor mode is a json that can be imported again with correct positions, names, and values
  • name is shown on city button in editor mode

As a Player, I want a title screen

AC

  • title screen says Fursorger
  • title screen says Singleplayer
  • title screen says Editor
  • title screen says Developed by the two most awesome guys in the world! ;)

As a Player I want to immediately know to which cities I can go next

Background

With editor mode and draggable cities, it is possible to put a city exactly on top of a line between two different cities (which are not neighbors of the first). It looks as if there is a path from the first city to the other two, but there is not. This should be avoided

Acceptance criteria

  • player gets visible feedback to which cities she can move next

Example implementation

Color neighboring cities.

As a City I consume on each move

Description

  • I am the player
  • I make a step to the neighboring city
  • all cities' stock value get reduced by the cities' consumption

Acceptance criteria

  • on player move stock consume() occurs
  • consume() reduces all cities' stock value by the cities' consumption

As a developer I want the comfort features from parvenu

Acceptance criteria

https://github.com/proSingularity/parvenu

  • deploy newest branch to Heroku
    • create heroku app fursorger-game via heroku dashboard
    • set heroku app to use docker heroku stack:set container --app fursorger-game
    • create new heroku app auth token heroku authorization:create and set as HEROKU_API_KEY in Travis CI repository settings
    • copy Dockerfile, /deployment/server/, travis,yml, heroku.yml and adapt accordingly
  • improved linting
  • newest library versions

As a player I can build factory every 3 turns

  • I get a factory after 3 turns
  • I can ''store'' factories
  • I can place factories at player location
  • factories increases production by 1
  • optional: hour glass icon marks turns till next factory

Collection

High Value

  • buttons look clickable even if they aren't (particularly + - buttons on other cities)
  • contrast background and buttons
  • import backpack from json

High value and easy

  • better relative size of icons
  • colored production numbers (red if negative)

Fun for @knoffi

  • drag buttons

Fun for everybody

  • create new fun levels

Hard

  • unclear what happens when clicking + - buttons (not clear that backpack goes down)

  • contrast / color of build factory button is low

  • user can upload background image

As a player I can transfer my stock to the cities stock

User perspective

  • I am the player in city X
  • I click on the store 1 in city button
  • I see the counter on the screen for my stock reduces by 1
  • I see the counter for the city's stock increase by 1

Note

The frontend design for this is still open for discussion. The store 1 in city button is just to better describe the flow. Better ideas are welcome.

As a Player on Mobile I want a responsive game

Background

On mobile, screen sizes are widely different from desktop. In particular, most smartphones don't support the current screen size of 800x600.

Acceptance criteria

  • game scales with the screen size

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.