Giter Club home page Giter Club logo

candiderl's People

Contributors

nzyuzin avatar

Watchers

 avatar

candiderl's Issues

Events to be generated by actions

The current implementation uses actions that are stored in internal to game character list and are processed on each turn with ordered by time of creation i.e. character that was "born" into the world first gets his actions processed first and the order of his actions is based on time of action creation.

The better approach would be to have actions generate events that are stored in event queue (independent to character?) which is priority queue.

This approach would allow some flexibility on easiness of creation of different actions, the events can be used as building blocks for different actions. And aside from that -- the priority of event can be specified too.

Separate interface windows in code

In future, we would like to have different screens showing certain game information, like stats screen, inventory screen, announcements and so on.

In code, it can be implemented as different swing windows that are hidden or shown when need be.

Implement client-server separation

At the moment UI serves only as a way to display information passed to it by GameEngine, knowing nothing about the game implementation.

That could be extended even further by making GameEngine work as a server to which UI connects as a client.

In this case their communication will be performed via net.

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.