Git Product home page Git Product logo

pcgtest's Introduction

Game Experiment

This is a project built to experiment with game development in C# with a focus on simulation and Procedural Content Generation (PCG). It is built on the MonoGame framework, and is intended to run on Windows and be portable to at least Android. Secondary goals are to have reasonably decent pixel graphics and an interesting simulation system.

For background information see the RogueLike tag on my blog Superfluous Comments.

Architecture

The initial design is meant to be something between Model View Controller (MVC) and Model View View-Model (MVVM). The names of the modules have been changed to better reflect each parts intended function:

  • Simulation - This is the model, in charge of game objects and their interactions.
  • Display - This is the view, in charge of rendering graphics to the screen.
  • Director - This module connects the simulation to the display.

Simulation

The simulation models the world and everything in it, and contains all logic for updating the world. It keeps track of all the maps, tiles, and entities, managing their creation, deletion, and update. Actors in the simulation are built using a Component Entity System, and the simulation handles all system executions. See Simulation.

Display

The display handles the actual drawing of everything to the screen, and processes raw user input. The display contains a handle on the physical display (the screen), and maintains a stack of "views" which define what is shown on the screen. Views are drawn from bottom to top, with views higher in the stack optionally overriding active user input mappings.

Director

The director translates between the simulation models and the display data. The director also mediates all modifications to the simulation model and informs the display of changes to the simulation model.

Content

The sprites used in this project are primarily Andrew Rios' DawnLike using DawnBringer's 16 color palette. Some supplemental tiles were taken from Lanea Zimmerman's Tiny 16X16.

License

This project is licensed under the 3 Clause BSD License - see the LICENSE.txt file for details

pcgtest's People

Contributors

kitsu avatar

Stargazers

 avatar

Watchers

 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.