-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathREADME
More file actions
43 lines (27 loc) · 1.28 KB
/
Copy pathREADME
File metadata and controls
43 lines (27 loc) · 1.28 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
===============================================================================
Introduction
===============================================================================
This is an example project that illustrates how to use the iFunFactory Funapi.
It consists of a client part and a server part. You need to build both of them
to test.
===============================================================================
How to compile
===============================================================================
Server is in C++ and can be built using 'cmake'
$ mkdir build
$ cd build
$ cmake ..
$ make
Client is shipped ready in Python. So you do not have to build.
===============================================================================
How to run
===============================================================================
First run the server. After building a server, you can see a file named
`giving_tree-local'. This is a shell script which pre-loads required
libraries including Funapi. Simply run the script.
$ cd build; ./giving_tree-local
Next, run the client.
$ cd client; ./giving_tree_client-launcher
Once connected with the server, you need to login to test the client.
Details are explained in a tutorial which is available at the Funapi website.
Enjoy the game!