Coder Social home page Coder Social logo

hr's People

Contributors

ryfry avatar weldworks avatar

Watchers

 avatar  avatar  avatar

hr's Issues

Write Entity Abstract Superclass

Write an abstract class named "Entity" which constuctable objects like cities and mines will extend. Must contain variables and behaviors common to ALL entities; may need adjusting if future types of entities are added.

Keep this file fairly simple and general; don't try to force too much into it at this time.

Document GlobalConstants.java

All files must be commented to increase readability: all methods must have at least one line of header describing their purpose and parameters; variables and constants should have UNIFORM and INFORMATIVE naming conventions.

Document Mines.java

All files must be commented to increase readability: all methods must have at least one line of header describing their purpose and parameters; variables and constants should have UNIFORM and INFORMATIVE naming conventions.

Document God.java

All files must be commented to increase readability: all methods must have at least one line of header describing their purpose and parameters; variables and constants should have UNIFORM and INFORMATIVE naming conventions.

Document Entity.java

All files must be commented to increase readability: all methods must have at least one line of header describing their purpose and parameters; variables and constants should have UNIFORM and INFORMATIVE naming conventions.

Document Cities.java

All files must be commented to increase readability: all methods must have at least one line of header describing their purpose and parameters; variables and constants should have UNIFORM and INFORMATIVE naming conventions.

FANCIFY

There are many ways to make the code look fancy. Implement the following after everything is working and you have some free time.

  1. Change the "Global Constants" comment at the top of GC to be made of multi-line letters.

Document Sisyphys.java

All files must be commented to increase readability: all methods must have at least one line of header describing their purpose and parameters; variables and constants should have UNIFORM and INFORMATIVE naming conventions.

Streamline Interface Commands

Practice typing in the different commands. Determine the optimal, most user-friendly syntax for typing each in (by using shorthand words, for example) and change the Command.java file appropriately.

The syntax of the commands should be geared for fast-paced gameplay, and should minimize the chances for players to hastily mistype commands.

Document Frames.java

All files must be commented to increase readability: all methods must have at least one line of header describing their purpose and parameters; variables and constants should have UNIFORM and INFORMATIVE naming conventions.

Document Commands.java

All files must be commented to increase readability: all methods must have at least one line of header describing their purpose and parameters; variables and constants should have UNIFORM and INFORMATIVE naming conventions.

Create Main Control File

Expand GlobalConstants.java to be the primary control code for the game's internal gameplay-equations such Rates of Growth, Rates of Decay, Resource Costs for building new entities, etc.
This way they may easily be adjusted for game-testing, as well as future EASY/HARD Mode capabilities.

Group constants in GlobalConstants.java according to the functions they adjust, for ease of manipulation.

Objects Must Extend Entities Class

Rewrite existing constructable objects like cities and mines to extend the Entity class when it is build. This should remove the need for a few methods and variables if done properly.

Entity Constructors Made Modular

Overload Entity-inheriting classes' constructors so that different instances may have different internal algorithms; two cities, for example, may have different rates of growth and decay.

Standard constructors (no parameters) should be taken to mean default standards.

ALL NON-DEFAULT RATES SHOULD BE STORED IN GLOBALCONSTANTS.JAVA, AND PASSED TO NEW INSTANCES AT THE TIME OF THEIR INITIALIZATION.

Change Names of Entities

Change the standing lists of string names for Cities and Mines. Bear in mind that these names need to both sound spacey and be somewhat easy to type.

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.