Code Monkey home page Code Monkey logo

agryson / codename--eureka Goto Github PK

View Code? Open in Web Editor NEW
4.0 4.0 1.0 77.78 MB

Codename: Eureka is an under development simulation / strategy colony construction game based on an extraterrestrial planet. We're hoping it won't be too sci-fi and should be very accessible to anyone who likes colony construction / simulation games. It's entirely browser based, and the plan is for it to be a fully native, Chrome Packaged App (so no internet connection will be needed to play it) though compatibility with other major browsers is planned.

CSS 78.42% JavaScript 21.58%

codename--eureka's People

Contributors

agryson avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

jl10w

codename--eureka's Issues

Multiple map texture views

As per Aaron Isaac's suggestion, should be able to switch between a realistic view and an iconographic 'representational' view.

Resources

Create resource generation engine for different ore types.

Bad comment on randGen()

randGen()'s comment incorrectly swaps the values for baseand min which could lead to confusion.

createMap()'s switch statement makes unnecessary changes to Game.level

The switch statement does lots of unnecessary things such as switching for Game.level and in the relevant case, setting it to that case! WTF?

switch(Game.level) {
  case 0:
    map = Game.map;
    break;
  case 1:
    map = Game.map1;
    Game.level = 1;
    break;
  case 2:
    map = Game.map2;
    Game.level = 2;
    break;
  case 3:
    map = Game.map3;
    Game.level = 3;
    break;
  case 4:
    map = Game.map4;
    Game.level = 4;
    break;
  default:
    console.log('There was a problem with creating level... ' + Game.level);
}

New Context Menu

Context menu currently only supports right click, it should also support options for robots (dig up/down/out) etc. menu items (see its wiki page etc.)

Rivers

Rivers which respond accurately to the terrain altitude and flow to lakes or seas.

Multiple map texture views

As per Aaron Isaac's suggestion, should be able to switch between a realistic view and an iconographic 'representational' view.

iFrame Implementation

Should load main game in an iFrame, leading to 2 main advantages:

  • Code can be sandboxed to avoid Content Security Policy issues when packaging for Chrome
  • iFrame attribute webkitallowfullscreen can pop us into full screen.

Bad references to Game.map[y][x][0]

nextTurn() and createMap() (and I don't know what else) refer to teh now defunct boolean at Game.map[y][x][0].

These should be removed and the array spot should hold something else useful

Title screen

A title screen with panels for options like sound etc. and choosing save games.
This could simply be an update to existing title screen.

Save Games

Should be able to save and return to a game upon next load. Probably using IndexedDB

Multiple map texture views

As per Aaron Isaac's suggestion, should be able to switch between a realistic view and an iconographic 'representational' view.

Title screen

A title screen with panels for options like sound etc. and choosing save games.
This could simply be an update to existing title screen.

Multiple radar

Should be able to change the radar view from a geographic view to a view of resources.

New Context Menu

Context menu currently only supports right click, it should also support options for robots (dig up/down/out) etc. menu items (see its wiki page etc.)

New Context Menu

Context menu currently only supports right click, it should also support options for robots (dig up/down/out) etc. menu items (see its wiki page etc.)

Music & SFX

Needs an engine for music and sound effects.

Multiple map texture views

As per Aaron Isaac's suggestion, should be able to switch between a realistic view and an iconographic 'representational' view.

Sideways Miner

Miner should be able to dig sideways as mentioned in Issue #8 .

Multiple radar

Should be able to change the radar view from a geographic view to a view of resources.

Transparent Exec Drop down

Unless mousing over or open, exec drop down should be slightly transparent.
Also add transition.

example:

<div 
id="execDropDown" onclick="pulldown()" 
onmouseover="document.getElementById('execDropDown').style.opacity = '1'" 
onmouseout="document.getElementById('execDropDown').style.opacity = '0.4'">
</div>

Plant the flag

The first turn of the game should be to plant the flag and start construction of a command center, ARP and agridome.

Construction bug

Connector and Command centers don't show up after construction.

Research Tree

A research mechanism should be built in, allowing a browsable catalogue of available research topics, assignable labs and progress on topics.

Sideways Miner

Miner should be able to dig sideways as mentioned in Issue #8 .

Multiple radar

Should be able to change the radar view from a geographic view to a view of resources.

Statistics 1

Set up basic statistics framework that are stored and tracked for every turn.

Sideways Miner

Miner should be able to dig sideways as mentioned in Issue #8 .

Map confuses adjacent tiles at some zooms on some resolutions

Certain resolutions and certain zoom levels throw off the adjacent function. This is most likely due to rounding of Game.yLimit.
I had worked around this bug on the fixed map by incrementing y in twos... now that we have dynamic maps I need to make it much more robust.
Capture

New Context Menu

Context menu currently only supports right click, it should also support options for robots (dig up/down/out) etc. menu items (see its wiki page 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.