Skip to content

Ellzord/JALSE-Messengers

Repository files navigation

Messengers

Messengers is a JALSE example project. It is a simulation of several people text messaging each other (upon receiving a message a reply is sent back).

Building and running with Gradle

  1. Build using ./gradlew build (see Building Java Projects with Gradle)
  2. Run using ./gradle run (See The Application Plugin)

Optionally you can also create an Eclipse project using ./gradlew eclipse (see The Eclipse Plugins).

Simulation life-cycle

  1. Messengers are created.
  2. Messengers are then paired together.
  3. A SendMessage is scheduled for each messenger.
  4. A message is sent by creating a Message entity.
  5. Sending a messages causes ReplyToMessage to fire sending a reply back.
  6. Repeat from 4.

Model key

Model key

Model

Model

Output

See output.txt (it's big).

More

See the Wiki for more information.

About

Example project for JALSE

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages