Giter Club home page Giter Club logo

drools-game-engine's Introduction

Simple Drools Game Engine for creating Escape The Room (point and click) style games.

#Scenario You wake up in a room, you don't know where you are, you need to: ESCAPE THE ROOM!

alt tag

alt tag

This example was created originally for the conference JBCNConf (June - 2016)

Requirements:

  • JDK 8
  • Maven 3.2.3 +
  • GIT
  • IDE with Maven plugin, and you need to know how to use it ;)

Instructions:

  • Fork this repository (with the fork button, you need to be signed in github.com): http://github.com/salaboy/drools-game-engine/
  • clone your forked repository: git clone http://github.com//drools-game-engine/
  • cd drools-game-engine/
  • mvn clean install -DskipTests (if you run it with tests it will fail on purpose, the rules are missing, you need to write them)

Update your fork from this "blessed" repository

Objective

Write the missing rules to make all the test green again! There are three incomplete DRL files with their corresponding tests:

Homework

Write more rules, improve the existing ones, create more complex scenarios. Some ideas:

  • Create sub goals and expose the compleated subgoals via a query
  • Generalize the concept of a House to be a building with multiple rooms in multiple floors
  • Add the time variable, for example, create a hint mechanism that kicks in after a period of inactivity
  • Expose the GameSession interface using Rest Services and wildfly swarm
  • Provide your own implementation of GameSession, without using the rule engine, so you can compare both impls
  • Add Enemies and rules to avoid entering rooms with enemies

Finally send your Pull Request! or contact me via twitter if you have questions @salaboy

drools-game-engine's People

Contributors

salaboy avatar

Watchers

James Cloos avatar Jose 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.