GithubHelp home page GithubHelp logo

alexmulkerrinqa / pocketciv Goto Github PK

View Code? Open in Web Editor NEW

This project forked from alexmulkerrin/pocketciv

0.0 2.0 0.0 5.53 MB

Minimal Civilisation-like game. Made a pathfinder and wanting to use it in a project :)

JavaScript 58.77% HTML 41.23%

pocketciv's Introduction

PocketCiv

Minimal Civilisation-like game. Made a pathfinder and wanting to use it in a project :)

Update Log

current status 12/3/2017:

Link to in Development Version (0.0.9ish?)

This might be crawling with bugs or totally unusable, you have been warned! https://cdn.rawgit.com/AlexMulkerrin/PocketCiv/9a50b18d/index.html

Controls

  • wasd/arrow keys to move selected unit

  • spacebar to skip turn

  • 'B' to settle city note area around the unit must be explored to 2 tiles distance and there must be >14 land tiles (look for tiles with green or dark green terrain)

  • Escape key to abdicate, leaving an AI leader in charge of your empire

  • 'R' key to reset game with a new civilisation and world map

Example Screenshot

What your empire will hopefully look like Turn 100 and the Utatap tribe have conquered almost half of the Memono sub-continent.

[DRAFT] Project repository layout:

Currently in prototype phase (all in one file right now :P ) so this layout hasn't been implemented yet. Pretty clear idea how I'm going to organise the source code though

/JavaScript/ subdirectories

  • Program/
  • main entrypoint
  • file handling
  • image loader
  • music loader
  • utilities
  • Simulation/
  • terrain
  • terrain generator
  • faction
  • unit
  • pathfinder
  • Display/
  • renderer
  • minimap
  • interface
  • Controls/
  • mouse
  • keyboard
  • Audio/
  • sound engine
  • music player

Other directories

  • /Resources/
  • images
  • sounds
  • music
  • /Ruleset/
  • unit types
  • scenarios
  • fixed maps
  • /Screenshots/

Top level files

  • README.md
  • Design document
  • index.html
  • prototype.html

pocketciv's People

Contributors

alexmulkerrin avatar

Watchers

James Cloos avatar Alex Mulkerrin avatar

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.