- About the Game:
1- Understand the Tragedy of the Commons.
2- Learn how to think ahead before making a dissections.
- Audience:
- Motivation:
This project is a good way to create a statistic study to answer some questions:
- How people think about public resources and public favors.
- Determine the greedy level of players.
- What can people do to use these resources most wisely?
- In Game two... How did your strategy change, if at all?
- Project Architectures:
This project consists of three components:
- A server, which monitors the game, connection and disconnection of players.
- Clients (players).
- Graphic User Interface (GUI).
- Description:
The player connects to the server and is asked to join an existing group of people fishing-if any-, by entering the number of the group, or he can create a new group by entering a new number.
The game starts by asking the player to enter the number of fishes to fish, without knowing the existing number of fishes. Which is created by the server randomly and is doubled after each turn.
If the player is greedy a few number of turns is played, and the game is over for all players.
- Two Simple Scenario:
1- If we have a pond with50 fishes and the player is greedy .
The player can finish all fishes in only three turns, if she/he fishes 30,30, and 20, in the first, second and third turn consequently.
2-The same pond with non-greedy player.
If the player gets 20 or less fishes in first turn, the number of the fish is 60 or more in a next turn. Because the player can not fishing more than 30 in each turn and duplicate the number of fish after each turn. So the game is never over even if the player fishes 30 fish in each turn after the first turn.
- Application Interface:
- This is the home screen that displays for 10 seconds then moves to the second screen.
- This is the main menu that displays for the player. There are three options buttons(About – Join Multi Player Challenge - Quit).
- When the player select the first option (About) a description of the game is displayed .
- When the user select the second option (Join Multi Player Challenge) the player has to enter the port number and the host number in order to connect to server.
- After the player enter a port/host number he will start the game .A list of available groups are shown to the user then the user enters the desired number, if he wants to create his own group he will enter a new number.
- After that the game starts by entering the number of fishes he would like to fish.
- The game is over when there are no fishes.
- A Game over phrase is shown to the user and he can see the number of fishes he fished during the game in each turn.
Server:
- On the server side the user can see players connect and disconnect, groups created, the number of fishes.
- Video:
- Future Work:
- Create a statistic graph based on the server’s collected data and shows player.
- A function to determine the level of greed of each player.
- Add more GUI features to the game.
- Add sensor motion so the user can move his hand forward to fish from the pond and the number of fishes could be a range from 0-30 depending of the force of motion.
Old Dominion University
CS595
App Development for Smart Devices
Fall 2012
Supervised by:
Dr. Tamer Nadeem
Team Name:
The Andro-Techs
Team Member Names:
Lulwah Alkwai
and
Sarwar aziz Sha-Mohammad