Giter Site home page Giter Site logo

druid-of-luhn / citymayor Goto Github PK

View Code? Open in Web Editor NEW
2.0 3.0 0.0 4.25 MB

City-building simulation game built in Processing for the Video Games module at the University of St Andrews.

License: Mozilla Public License 2.0

Processing 92.35% Java 7.65%
game simulation-game city game-development building

citymayor's Introduction

CityMayor

CityMayor is a city-building simulation game built in Processing for the Video Games module at the University of St Andrews.

A screenshot of a large town built in CityMayor.

Aim of the Game

The aim of the game is to build a large and beautiful city, full of people and generating a good income. If the population does not have jobs, shops or entertainment, they will begin to leave. A lack of housing will restrict population growth.

The game is not well balanced, so once income is steady it becomes very difficult to stop it from continuing to grow. As the main point is to enjoy the calm city-building process however, this is not too much of a problem.

Controls

The game is both keyboard- and mouse-driven and the controls are explained in game screen.

Actions

The list of actions available in CityMayor.

  • Done: deselect the currently selected action.
  • Building: place a building, chosen from a dropdown menu.
  • Road: place a road.
  • Forest: plant a forest.
  • Demolish: demolish a road or forest.
  • Show/Hide HUD: show or hide the heads-up-display.
  • Undo: undo previous actions.
  • Redo: redo previously undone actions.
  • Pause: pause the current simulation.
  • Save: save the game to $HOME/Desktop.
  • Load: load a game from $HOME/Desktop.

Placing buildings, roads and forests costs money, as does demolishing them. A cost label appears above the mouse with the amount that it would cost to perform the current action, as well as a preview of the item being placed.

License

Copyright 2017 Billy Brown.

This project (CityMayor) is licensed under the Mozilla Public License version 2.0. See LICENSE file.

citymayor's People

Contributors

druid-of-luhn avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  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.