Code Monkey home page Code Monkey logo

gameapi's Introduction

gameapi_banner GitHub release (release name instead of tag name)

The API dedicated for minecraft widely understood game and minigame development, based on Spigot API.

Purpose

Provides all needed tools and functionalities to fully control the game flow and store necessary data. Every element of this API is coded with much care to make it understandable and clear as well as comfortable and easy to use.

Every class will obtain carefully written documentation, by far classes and mechanic themself are under development. The plan for JavaDoc is to implement it with following releases, possibly along with ALPHA ones.

Maven

This API is created with Java 8 and built using Maven. It uses Spigot API 1.8.8.

Repository:

<repository>
    <id>jitpack.io</id>
    <url>https://jitpack.io</url>
</repository>

Dependency:

<dependency>
    <groupId>com.github.TheKaVu</groupId>
    <artifactId>GameAPI</artifactId>
    <version>v0.1.0-RELEASE</version>
</dependency>

Note: This API is in early development state thus depending on it might be risky. Changes are done almost day by day so major incompatibilities must be expected. As any of provided functionality were barely tested right now it is obvious that many bugs and malfunction could encounter.

gameapi's People

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

gameapi's Issues

GameEngine class

New GameEngine abstract class for the plugins that are ment to be functioning as game engines

Arena control system

Creating game arena control system with utilities like allowing/blocking block placement. The purpose is to make whole game area more controllable.

Incorrect Statistic logic

Need for fixing incorrect logic of statistic system in GameManager class. Also requires associating GroupStatistic with GameManager.

Statistics system requiers remake

Statistics system requires major changes to be more interactive and user-friendly. This includes:

  • remaking Statistic base and child classes
  • coding new statistic fetching system
  • updating compatibility with GameManager class

Shedule for GameStateTimer

Ability to schedule GameStateTimer without a need to code direct GameState initializations in GameState.onEnd function. Also provides AwaitState class to create await gaps between two sheduled game states

Events for game package

Group of custom events for .game package and proper calls

Event list:

  • GameEvent (abstract)
  • - GameStartEvent
  • - GameEndEvent
  • - GameStateTimerEvent
  • - - GameStateInitEvent
  • - - GameStateEndEvent
  • - - GameTimerScheduleEndEvent
  • - PlayerGameEvent (abstract)
  • - - PlayerJoinGameEvent
  • - - PlayerLeaveGameEvent

Github Wiki

Creating github Wiki guide, containing clues, suggestions and examples of multiple uses of this API and its wide functionality.

Statistic class cast exception

Function StatisticWrapper.getStatistic and StatisticSetWrapper.getStatistic generates ClassCastException exception.

Fixed:

  • StatisticWrapper
  • StatisticSetWrapper

Improvement of basic package

All the contents of .game package, especially GameManager class should be improved with addtition of some new features

  • #30
  • #31
  • #33
  • #36
  • optimization and probable changes to game type system

Statistic class not found issue

The statistic classes (SingleStatistic and GroupStatistic) aren't compatible with an old version of GameManager due to them being renamed versions of Statistic class.

Correct the type of statistics field in GameManager.

Java comment documentation

In-code Java documentation with use of comment structure

/**
* Documentation here
*/
public void foo() {
    // Some code here
}

Improve game map mechanics

As game map system is poorly done it needs improvement and fllexibility.
This includes:

  • saving/loading/unloading/restoring/randomizing map,
  • storing current and default map with use of GameMap interface
  • creating integration with use of MapManager class
  • associating MapManager class with GameManager

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.