Giter Club home page Giter Club logo

residentialyardgame's Introduction

residentialyardgame

Repo for RYDG project

Current game found in following address: http://people.uta.fi/~ss98607/ihanpihalla/

This repository contains code used for Residential Yard Design Game.

Now this contains indexxx.html, mapstesti.html and some JS-files from Three JS-package. Full Three JS-package can be downloaded for your computer on following address: https://threejs.org/ or GitHub https://github.com/mrdoob/three.js/

Become collaborator by sending your GitHub username to Sami (DM/PM on Slack) and you will be added as collaborator. ^.^

UPDATE 10.12.

indexxx.html: Now it's possible to drag & drop objects (lol, cube) Infowindows

To do 15.12.16

Change location/method of inserting elements

Implement evaluation as follows: Any object has 2 point values that are constantly updated depending on its location Value 1 (number of object) --> absolutevalue(d) = optimal_numberofobject - current_numberofobject Value 2 (proximity of object to all other objects) --> absolutevalue(s_object1-2) = optimal_proximity_object1-2 - current_proximity_object1-2 --> is added to points if absolutevalue(s_object1-2) is less than maximum_proximity_object1-2 (a valid connection)

Value 1 has only one value per object Value 2 has multiple values per object, depending on the individual connections to other objects. Options: Data structure with nodes and edges (Replaced with right word :D, Sami, 19.12) or array for each object

Point calculation: points (p) defined as linear function of d and s_objectn-n p = m d + points_max (Value 1) p = m s_objectn-n + points_max (Value 2) where m is a predefined multiplier

Total points of object is p(d) + p(s_objectn-n) note, as many s_objects as there are valid connecctions for that object Find out how to make nicer/customized graphics ^.^

UPDATE 17.12.16

indexxx.html Changed the way how objects are added

-Sami

Update 21.12.16 Possible to move real 3d objects Added some functions to show distance, list of objects -Sami

Update 28.12.16 Re-arranged GitHub repo. -Sami

Update 29.12.16 thx to Maria, we have now real 3d-models! Removed all testing stuff from code. Upgraded gallery-page. Implemented "value 1" calculation somehow -Sami

TODO 2017:

-Continue building ev/point system

  • "Worm meter" is calculated like this: green area / (total area - building areas) where green area is sum of area of lawn in the yard and total area is pre-defined area restricted by coordinates.
  • "Bird meter" and "Bee meter" would depend on amount of trees and bushes

-Visualize actions

-Pass data between pages?? (JS has localStorage-method for this! No server-side needed for this!)

Update 2.1.17: Improved ev.system (now it's accurate to what was decided in dev-meeting) TODO --> Making it more reasonable, adding eco-evaluation

Update 7.1.17: SSSvensk#10 Now I'm going to Ilves's match and be back in the evening

Week left, let's do it!

Update 18.2.17

Project is officially in the hands of the collaborators, and is set to be revamped and opened to the community. Check back soon.

  • Additions: server code (node); see issues.
  • To do: database code and discussion about data handling and processing. Bug fixes and other planned additions: see issues.

Over and out ^.^

residentialyardgame's People

Contributors

sssvensk avatar cfleur avatar

residentialyardgame's Issues

Delay with adding elements.

There is a delay when adding elements, as well they are spawned in a random location. Spawning can be quite far away from the actual yard. Elements do not follow the mouse well, and this is the "delay".

Possible fix:

Responsiveness

Add responsiveness to page design for different browser sizes and mobile, etc.

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.