README.md 2.63 KB
Newer Older
1
# Sprouts Bachelor Project
Florian Wolfgang Marth's avatar
Florian Wolfgang Marth committed
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
43
44
45
46
47
48
49
50
51
52
## The Application

The application is split in six parts. Each of those parts correspond to an android activity and is a package within the project.

### GameActivity

In the game activity, the whole game logic and game models are stored. This corresponding activity is called when you start a local or online multiplayer game.

### LandingPageActivity

In the landing page activity, there is basically no logic. The only thing the landing page activity provides is a platform where you can call other activities. In total, from there you can call the GameActivity, the MultiplayerActivity, the QuestionMarkActivity, the SettingsActivity and the ShareActivity, although the last mentioned is currently not activated. It basically acts as a navigator activity.

### MultiplayerActivity

In the multiplayer activity, you can see the logic that is necessary to start a multiplayer game. There is e.g. the logic of how a gamekey is generated and how access to the db is realized.

### QuestionMarkActivity

In the question mark activity, there is no logic. The only purpose of this activity is to give the user an overview of what the game of sprouts is all about.

### SettingsActivity

In the settings activity, you can change the width of lines, the number of nodes and the radius size of nodes.

### ShareActivity

In the share activity (currently disabled) you would have the possibility to share the application with other people. 

### Resources

In the resource folder, all of the layout files are specified alongside string values and pictures that are used within the game.

## Tests

Some logic is also covered by standard JUnit tests. All of the tests can be found in the uibk.sprouts.gameActivity.Validators (test) folder. As the name indicates, only the game logic is covered by JUnit Tests.

## Install the Application

The game can be installed simply by opening the provided zip with Android Studio and build the project from there. There are no additional settings that need to be done. Android Studio also provides the possibility to show the application in an emulated mobile device.

## Further References

As this game has been developed as part of a bachelor thesis, there is a pdf describing most of the algorithms alongside design decisions. You can find the file [here](https://1drv.ms/b/s!Ati0LH3etGbBg9wm8BZs2wtTagEc1w?e=osH9Ig). If you can not open the link, feel free to send an E-Mail to the contact information provided below and I send the required information.

## Contact 

This project has been developed as part of a bachelor thesis at the University of Innsbruck.
Florian Marth
E-Mail: marth.florian@gmail.com
Developed in 2021