GithubHelp home page GithubHelp logo

untitled-incremental's People

Contributors

hanso38 avatar sacredskull avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

untitled-incremental's Issues

Create save database (or add new tables to current database)

The save database contains player/game information. Basically it serializes your completed research and projects (ID), your parts inventory (ID, quantity) and your current employees (ID, name, avatar, stats). There will eventually be (much) more than that, but basics for now.

Full read and write support is required on these tables, so more work than the others will be necessary. This first iteration will include a much smaller subset of data, meaning that the database schema is likely to change in the future.

There are two options:

  • Add tables to the existing database
  • Add another database, separating saves from the game's resource database

I personally feel that adding another database, whilst increasing complexity, is the better option. We'll eventually need to test the saving functionality, and this approach would mean simply deleting or copying over the save.db file instead of fiddling with SQL.

This would also allow us the option of storing many saves! In the menu all you'd need to do is select a save and the game would load the relevant database, which sounds beautiful to me.

XML finalisation and LINQ

Make sure all required fields are in the XML code and use Linq to populate specific arrays in the C# code.

Add Projects

Projects allow the user to enhance their Computer and it's software

Create Further information window

This one will require a bit of work. When clicking on a project it will replace the selector with a more in depth window. The catch is for things like Software and Hardware. They have requirements like Parts and Cost that currently prevent them from showing up in the List. The user must blindly buy parts unaware of what it'll unlock for them. This must be changed so that they show up in the selector, but clicking displays all that is needed and the benefits. We could also provide the user with an idea of what the research might lead to.

Error Checking

Unsure how this works in C#, self explanatory, same idea as debugging, and should be done alongside it. Make sure methods will not take undesirable input.

Event handling

Need to add in event handling. For example if research is finished an event is set off which resets all ResearchController.instance

Notification window

Set up to show things the user might like to know, create so the functionality can extend to all areas of the game.

Debugging existing code.

Ongoing effort to be made by both of us. We should keep a test log for each method we test, comment working above a method that has been thoroughly tested.

General organisation

Everything is a bit of a mess currently, code needs commenting and gameController needs more structure+ divided into smaller classes, should be done soon to improve eifficiency.

SQL-Research

Something about the process is screwing up when it comes to processReq

Project shouldn't need sub-types

Software/Hardware projects share the same attributes bar

  • Point Cost (Software)
  • Part requirements (Hardware)

I don't feel the need to create a whole new class which creates messy XML code parsing.

Rather than use

<SoftwareProject ... />

I propose

<Project type="software" ... />

In other words, adding a type of project which could be an enum (I've had some strange behaviour in Unity/C# with them so may just go with a string instead).

For software projects, the parts list is empty; for hardware projects, the points cost is zero.

Create GUI element to display Research

Only Research that can be completed. I suck at GUI coding, so I will leave this in your capable hands. If data you need to produce this is not made available by me, make an issue and assign me to it.

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.