Giter VIP home page Giter VIP logo

games's Introduction

This module is a showcase that implement a logical game.
This module is not complate and is not advice to run on production envirement.
The module create a game entity.
Game entity has a bundle that describe its base logic like "Board Game", "Card Game" etc..
We only implemented only board game.

Each game can be "played", when you play the game you create a server side instance called "running game" that will save all changes to the game.

We are using Rules module for logical implementation
When you can trigger a logic event for base triggers:
on CREATING A NEW GAME
on GAME START
on GAME END

For Board Game there are more triggers
on Tile click EVENT IS CALLED
on Tile hover EVENT IS CALLED
on Tile set EVENT IS CALLED

When action can be customize per game by using conditions and actions
game message => a dynamic message that can be set to a certain game or all games
TileSetOwner => that will take a certain tile and make player own it

This module is build to be expended and not to use as is.

There are some example games already pre built with this module.
Tic Tac Toe
Sudoku
Chess


example : www.dgms.co

Maintainer : Avinoam
[email protected]



TODO:
1. Add a module that will be an interface to services module
2. Write test cases and Add game.test using simpletest
3. building ratchet web socket engine for games
4. creating installation profile
5. Implement a UI for editing game rules more simple from now.
6. D8 convertion

games's People

Contributors

avinoama avatar avinoama2 avatar

Stargazers

Itamar Shapira Bar-Lev avatar

Watchers

 avatar Itamar Shapira Bar-Lev 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.