https://github.com/mrdaemon/pong
A crappy pong game written in Java using LWJGL
https://github.com/mrdaemon/pong
Last synced: 10 months ago
JSON representation
A crappy pong game written in Java using LWJGL
- Host: GitHub
- URL: https://github.com/mrdaemon/pong
- Owner: mrdaemon
- Created: 2011-02-17T05:10:59.000Z (over 15 years ago)
- Default Branch: master
- Last Pushed: 2011-02-21T04:54:17.000Z (over 15 years ago)
- Last Synced: 2023-03-11T14:25:06.585Z (over 3 years ago)
- Language: Java
- Homepage:
- Size: 520 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.rst
Awesome Lists containing this project
README
==========================================
Pong EJSCS Scene Container Server
==========================================
------------------------------------------
Version 0.1 - Reference Implementation
------------------------------------------
.. contents::
Project Overview
=================
.. note:: This document is available in multiple formats. Some may be better
formatted than others. If your copy appears distorted, please obtain
either of these versions:
* PDF Document: whitepaper.pdf_
* HTML Document: whitepaper.html_
Knifa's Pong is an open source, partial EJSCS scene container server
implementation that combines the functionality of a full SOA and EDA
to some unquantifiable, subjective level, in order to create an agile,
enterprise ready framework for fully leveraging none, some or all of JSR 287.
.. note:: Pong EJSCS is currently under development, and as such,
specifications and features below are not final and may change,
possibly, but not necessarily, when the `JSR 292`_ specification
(currently in 'public review' phase) is finalized.
.. _JSR 292: http://jcp.org/en/jsr/detail?id=292
.. _whitepaper.pdf: http://github.com/mrdaemon/Pong/raw/master/doc/whitepaper.pdf
.. _whitepaper.html: http://github.com/mrdaemon/Pong/raw/master/doc/whitepaper.html
Overview of EJSCS Features, planned and implemented
-----------------------------------------------------
* Fully Compliant with `JSR 14`_
* Easy provisioning and hot deployment in an stopped state
via XML middleware leveraging the Apache ant build tool
* Stateful and Stateless CMP (Container Managed Paddle) entity operation
* Support for programmatical, source level access to exposed EJB and JMX-based
Web Services
* Ability to expose specific compilation units and source code to `JSR 199`_
compliant build tool (directly or indirectly) through XML-based Apache Ant
build tools
* Will eventually provide a mechanism for visually observing and interacting
with the running state of a simulation.
.. _JSR 14: http://jcp.org/en/jsr/detail?id=14
.. _JSR 199: http://jcp.org/en/jsr/detail?id=199
Application Overview
----------------------
The EJSCS container provided operates under the following model::
.--------------. ********************************
| CMP Client | * EJSC Compliant Container *
|--------------| * .--------. .----------------.*
| [User Event] -------->* | Sphere | | Buisness Logic |*------.
| | * '--------' '----------------'* |
'--------------' * .---------------------------.* |
^ ###* | Container Managed Paddle |*<## |
| # * '---------------------------'* # |
| # ******************************** # |
Request # # |
| ############Event Loop################ |
| |
| |
| |
|
\o/ |
| <--------------------Response---------------------'
/ \
End User
As you may have noticed, it is very straightforward while remaining
sufficiently enterprise-ready at all times.
What is EJSCS
--------------
EJSCS will eventually be the deployment standard in accordance to a
yet to-be-allocated JSR. It will define how to properly design
a system suitable for management of (E)JSC.
What standard level of EJSC/JSC is supported in Pong?
------------------------------------------------------
The following standards are supported as of the first specification draft:
- Standard /Java Sphere Caroming/ (tm) (JSC)
- /Enterprise Java Sphere Caroming/ (EJSC)
- Anything that passes `JSR 199`_ or alternatively,
compiles without generating errors.
In fact, the Pong EJSCS is a full
`Enterprise Java Sphere Caroming System Container`.
.. sidebar:: About EJSC(S):
`The Enterprise Java Sphere Caroming` specification
defines an API and interface that is specifically
designed to generate Java Enterprise-ready Entertainement
Emotions (JEREE 1.3) from simulating the caroming (or bouncing)
of a Sphere-like element between standard Container Managed
Paddles.
The EJSCS (`Enterprise Java Sphere Caroming System Container`)
specification defines the set of API needed to implement a
working EJSC /container/, that allows the simulation to take
place, with optional XML-based middleware and configuration
layers.
Developer's Guide
==================
Simply run `ant` in the project root. The `dist/` directory will contain
exectuable artifacts generated from the source code.
Okay, seriously? What is this?
-------------------------------
Personally, I (`Alexandre Gauthier`_) really hate the enterprise bullshit that
comes with Java, which is sadly, a rather decent programming language.
So I wrote this rather dead on pastiche of java enterprise components, XML
abuse and no obvious "What is this project about and what does it /do/"
section included.
Why? Mostly because:
1) Knifa's Pong game needed a readme,
and I decided to step up to provide one.
2) I was bored and frustrated
3) It needed to be made Enterprise Ready.
4) I really enjoy writing reStructuredText documents.
So yeah, it's all in good fun, and really isn't anything more than a shitty
Pong clone in Java.
.. _Alexandre Gauthier: http://www.raptorized.com/