Last Site Update: 18 January 2010

GWAP API

Requirements

  • Operating System:

    Not restricted (Windows or Linux are Recommanded)

  • Compiler:

    Java (Test environment: JDK 1.5.0_06)

  • Database:

    MySQL (Test environment: MySQL Ver 14.12 Distrib 5.0.18)

Database Structure

Suitable JDBC driver (mysql-connector-java-*.jar) is required for implementation of GWAP API and it is included in the package. Be sure to have it correctly added on the classpath.

It is also required to set the private attributes correctly for connection to the database. (Note: "mysqlaccount", "mysqldatabase", "mysqlhost", "mysqlpassword", and "imagehost" in Database.java are attributes required for connection)

For more detail about database structure, please see: Database Structure of GWAP API

Class List

Databaserepresents the database interface between a GWAP server and a database server.
Gamerepresents the game in a GWAP server.
Logrepresents the log system of a GWAP system.
Playerrepresents the player in the game.
Roundis a container which records anything about the round in a game.
Scorerepresents the score system of a GWAP server.
Serverrepresents the GWAP server.

Also see: http://hcomp.iis.sinica.edu.tw/GWAP_API/doc/