Skip to content

fi-content2-games-platform/FIcontent.Gaming.Enabler.Leaderboard

Repository files navigation

leaderboard

a cloud service, written in java, as standalone and as smartfoxserver 2x extension, within FI-Content2. It allows to post and retrieve high scores of games.

API specification: http://wiki.mediafi.org/doku.php/ficontent.gaming.enabler.leaderboard

Example usage: http://wiki.mediafi.org/doku.php/ficontent.gaming.enabler.leaderboard.developerguide

Setup server from standalone project

Requirements

The software was tested on Linux and Windows and should run on any platform supporting Java and MySQL.

Required java libraries

Setup

Database

  1. Install mysql server

  2. Create a file config.properties, here is an example:

    # escape the characters #, !, =, and : with a preceding backslash
    
    # (local) address of database
    url = jdbc\:mysql\://localhost\:3306/
    
    # database user/password
    user = root
    password = secret123
    
    # logfile is optional
    logfile = log.txt
    

Server

  1. Make sure you have java installed

  2. Copy/clone the files in leaderboard-standalone

3a. Install the leaderboard as a service or 3b. start the server manually with leaderboard-standalone/bin/run.*

Testing

One good way to get started is to use the div/admin-and-test.html file. For further information, please refer to the [development guide] (http://wiki.mediafi.org/doku.php/ficontent.gaming.enabler.leaderboard.developerguide).

About

leaderboard for a cloud service, written in java, as standalone and as smartfoxserver 2x extension, within FI-Content2

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •