Thursday, May 3, 2012

Progress Update

Racing game has some new feature.

Brick Breaker game has been changed to a Ninja game apparently.

Final report can be found here:
https://docs.google.com/document/d/1YnnkHRA0UQuScdt47w1wqKwmY8ecrGapjaz_VpDaNxg/edit

User manual can be found here:
https://docs.google.com/document/d/1Jz3-0dJMZTZOA2A9RE4zO6a33vPwuIEuZWM5pl8z1H8/edit

Thursday, April 26, 2012

Progress

Item Store is up and working
Tamagotchi now says things when you touch it.
I created a demo mode to loop through the different types of weather.

Racing mini game is somewhat working (Yancy)

No updates on Brick Breaker mini game. (Vamshi)

Thursday, April 12, 2012

Demo and Presentation 2 tomorrow

Multiplayer is ready to go... Not sure about the mini-games.

The racing mini-game doesn't work and still no updates for the block breaker mini-game.

The second report is available to view here

Friday, April 6, 2012

Friday, March 30, 2012

First Report is now available to view online

Everything is on schedule.  We are on track for the next deliverable.

Here is the report for the first deliverable that was presented today:
First Report

Monday, March 26, 2012

Status Update

Motion and animation was added on Friday.

Game saving using the database is still not finished.

Monday, March 12, 2012

Progress Update

The basic GUI, Tamagotchi behavior, item interaction, equip, weather are done.

Tamagotchi motion and database / database functions still need to be done.

Monday, March 5, 2012

Just a To Do list for me (Jon)

  • Add Tamagotchi health regen, sickness, and hunger behavior.
  • Add daytime and nighttime
  • Add some clouds and stuff maybe
  • Hunger increases faster if Sickness > 0
  • Health stops regenerating if Sickness > 0
  • Sickness starts gradually decreasing if Hunger is 0
  • Health regenerates slower if Hunger is higher

Friday, March 2, 2012

Meeting Notes (3/2)

  • Age will be decided based on playtime, in order to prevent tamagotchis from aging when the game is not running.
  • Separate Tamagotchi from sprite.
  • Create separate table for in-play objects, 3 columns x, y, name, for example, poop: 1,2,poop.
  • All items in-game will be predefined in a table, and all possible sprites will be loaded at game start.
  • Tamagotchi sprite animation (idle, movement)
  • Figure out how to use GPS with AndEngine

Thursday, March 1, 2012

Project Statement

Tamagotchi Project Statement

Jonathan Chiu, Yancy Hu, Vamshi Chilukamari



Project Statement

Overview

Customers

Goals

System Functions

Evident

Hidden

Frills

System Attributes

Details/Constraints

High Priority

Low Priority

Use Cases

Plan & Schedule

Deliverables

Glossary

Website






Project Statement

Overview

The purpose of this project is to create a virtual pet application for the Android client. The virtual pet game we are creating will be related to the Tamagotchi digital pet device that was originally released in the late 90s. After receiving much fame, newer generations of the device were created and marketed, packed with new features while still retaining the original concepts.

Customers

Our target customers are casual gamers with Android phones. Recently, the definition of a “casual gamer” has become a very broad term, especially with the introduction of Facebook games, most notably Farmville. As such, our target customer base can apply to all people who own an Android.

Goals

The primary objective of this project is to recreate a true replica of the classic Tamagotchi game device on the Android, with upgrades and features in order to benefit from the Android’s additional capabilities.

System Functions

Evident

The Tamagotchi Application should be able to take advantage of the Android’s GPS system in order to determine the current weather in the user’s location, and project that weather into the game’s environment.

The users will also be able to hold online battles with other users. Their battle levels will determine the chances of a user winning. There will also be a database that will hold all the statistics of the Tamagotch, including but not limited to, number of battles fought, number of victories, and age.

There will be an incorporated inventory system, with items that can be used to take care of a Tamagotchi, items like food and medicine. Additional items will be put in-game.

Hidden

None as of now

Frills

An Achievement System will inform the user of accomplishments made throughout the game (i.e played 10 battles, Tamagotchi survived 25 days, etc.). An additional notification system will notify the user through some media (pop-ups, email, etc.) on updates on their Tamagotchi (when its hungry, sick, etc.).

There will be minigames based around the Tamagotchi that the user can play and earn achievements.

System Attributes

Details/Constraints

During normal usage, the Tamagotchi pet will randomly walk around the map. Hunger levels will increase as the Tamagotchi remains active. It will also randomly poop on the screen.

We hope to achieve widespread usage of this application, so it will not be system intensive. All Android clients should be able to run this application.

High Priority

Inventory system, Items, Movement, Battle System, Mini games

Low Priority

Voice commands

Use Cases

Use Case IDUse Case NamePrimary ActorScopeComplexityPriority
0Open appplicationUserInMed1
1Feed TamagotchiUserInMed1
2View backpack contentsUserInHigh1
3Give MedicineUserInMed1
4Discard poopUserInMed1
5Initiate BattleUserInHigh1
6Battle (???)UserInHigh1
7View Item DescriptionUserInLow1
8Prepare Tamagotchi for weatherUserInHigh1
9Buy item from storeUserInHigh3
10Play minigameUserInHigh2
11Use voice commandUserPossibly InMed4









Use Case Number0
ApplicationMain Application
Use Case NameOpen application
Use Case DescriptionUser opens application to begin playing
Primary ActorUser
PreconditionNone
TriggerNone
Basic Flow
  1. User opens application
  2. An egg appears on the screen where a new Tamagotchi will hatch from
  3. Tamagotchi is born
  4. User can now interact with Tamagotchi
Alternate Flows
  1. User has already created a Tamagotchi previously
  2. Existing Tamagotchi is loaded
  3. User can interact with Tamagotchi



Use Case Number1
ApplicationMain Application
Use Case NameFeed Tamagotchi
Use Case DescriptionThe user feeds the Tamagotchi some food.
Primary ActorUser
PreconditionUser has food in his backpack.
TriggerThe Tamagotchi complains that it is hungry.
Basic Flow
  1. User taps and drags food item from backpack
  2. User drops food item on Tamagotchi
  3. A confirmation dialog appears to confirm using item
  4. Tamagotchi smiles (or does some animation) to show that it received the item
  5. Hunger level is adjusted according to the item specifications
Alternate FlowsItem from opened backpack
  1. User opens full backpack
  2. User taps and drags food item
  3. Backpack minimizes
  4. User drops food item on Tamagotchi and Basic Flow occurs

User drops food somewhere not on Tamagotchi
  1. User taps and drags food item
  2. Drops the item somewhere other than Tamagotchi
  3. The item returns to the backpack and nothing occurs

Tamagotchi is full
  1. Tamagotchi refuses to eat food
  2. Item returns to backpack



Use Case Number2
ApplicationMain Application
Use Case NameView Backpack Contents
Use Case DescriptionUser can open inventory and view all items in their possession.
Primary ActorUser
PreconditionNone
TriggerUser pushes on a button on the screen
Basic Flow
  1. User chooses to open the backpack in the application
  2. Application then displays all contents of the backpack
  3. Backpack can then be closed.

Alternate Flows
  1. User chooses to open the backpack in the application
  2. Application fails to open backpack




Use Case Number3
ApplicationMain Application
Use Case NameGive Medicine
Use Case DescriptionUser gives the Tamagotchi medicine to treat its illness.
Primary ActorUser
PreconditionThere is Medicine in the backpack.
TriggerThe Tamagotchi alerts you that it is sick (either through text or a sick icon of some sort)
Basic Flow
  1. User taps and drags medicine from backpack
  2. User drops medicine item on Tamagotchi
  3. A confirmation dialog appears to confirm using item
  4. Tamagotchi smiles (or does some animation) to show that it received the item
  5. Sickness level is adjusted according to the item specifications
Alternate FlowsItem from opened backpack
  1. User opens full backpack
  2. User taps and drags item
  3. Backpack minimizes
  4. User drops item on Tamagotchi and Basic Flow occurs

User drops item somewhere not on Tamagotchi
  1. User taps and drags item
  2. Drops the item somewhere other than Tamagotchi
  3. The item returns to the backpack and nothing occurs

Tamagotchi is not sick
  1. Tamagotchi refuses to take medicine
  2. Item returns to backpack


Use Case Number4
ApplicationMain Application
Use Case NameDiscard Poop
Use Case DescriptionUser clicks and drags poop on screen into a trash bin, also on screen.
Primary ActorUser
PreconditionThere must be poop on the ground
TriggerWhen the user clicks and drags the poop
Basic Flow
  1. User clicks and drags poop into trash bin
  2. Poop object is then deleted.
Alternate Flows
  1. User clicks and drags poop onto another part of the ground
  2. Poop object will then be moved to that location.



Use Case Number5
ApplicationMain Application
Use Case NameInitiate Battle
Use Case DescriptionThe user connects to another user to battle their Tamagotchis.
Primary ActorUser (initiating battle)
Precondition
  • Initiating user and opponent must be on the same WiFi network.
  • Both users are running the same version of the game.
  • Both users must have living Tamagotchis.
TriggerInitiate battle button is pressed
Basic Flow
  1. Initiating user selects Battle Mode from menu
  2. Initiating user selects that they are acting as the server
  3. A dialog box appears displaying the initiating user’s IP address, which will be the server IP.
  4. The opponent selects Battle Mode from menu
  5. The opponent selects that they are acting as the client
  6. A dialog box appears asking the opponent for the server IP.
  7. The opponent enters the server IP and presses Enter
  8. Both players are now connected.
  9. A message will appear on each player’s screen acknowledging that they are connected and ready to battle.
Alternate FlowsBoth players select server
  1. Nothing happens since no one connects to the other player.

Both players select client
  1. Nothing happens since no one is acting as the server.

Players are not on the same WiFi network
  1. Nothing happens.

Players are running different game versions
  1. Players connect normally
  2. A dialog is displayed alerting that they are running different game versions. They are given the option to proceed anyway or quit.

One player does not have a Tamagotchi
  1. Players without Tamagotchis should not be able to access the Battle option



Use Case Number6
ApplicationMain Application
Use Case NameBattle
Use Case DescriptionUser starts battle
Primary ActorUser
PreconditionUse Case Initiate Battle must complete with both users agreeing to battle
TriggerUse Case Initiate Battle
Basic Flow
  1. Users will be prompted with message “Deathmatch?”
  2. If both users agree, the Tamagotchi that loses all health first will die.
  3. Tamagotchis will take turns attacking each other
  4. Battle Level will determine how much damage a Tamagotchi’s attack does.
  5. Health will decrease as both Tamagotchis take hits.
  6. Battle is over once one Tamagotchi has lost all health.
  7. Tamagotchi that loses will die.
  8. The winner gains experience towards their Battle Level.
Alternate Flows
  1. If one or more users disagree to Deathmatch, battle will carry on normally in Basic flow, but the Tamagotchi that loses will not die.
  2. Experience gained from win will be halved.

A user disconnects
  1. User disconnects
  2. Battle ends immediately



Use Case Number7
ApplicationMain Application
Use Case NameView Item Description
Use Case DescriptionUser sees a description of an item when they tap on it.
Primary ActorUser
PreconditionAn item exists in the backpack
Backpack must be open
TriggerTapping an item in the backpack
Basic Flow
  1. User taps (but does not drag) on item in the backpack
  2. A small panel appears at the bottom of the screen with a description of the item
  3. User can either tap somewhere else on the screen or tap the close button to close the panel.
Alternate FlowsNone


Use Case Number8
ApplicationMain Application
Use Case NamePrepare Tamagotchi for Weather
Use Case DescriptionBecause of the different weather situations as a result of GPS-based weather, the Tamagotchi needs to be prepared or it will become sick.
Primary ActorUser
PreconditionA weather situation has occurred where the Tamagotchi needs to be prepared in order to prevent illness.
TriggerEither the weather has changed or the Tamagotchi notifies the user that it is scared (which will mean that something needs to be done)
Basic Flow
  1. The user drags the appropriate item from the backpack onto the Tamagotchi in order to prepare it for the weather, which could be things like a blanket, umbrella, or coat.
Alternate FlowsWeather does not call for preparation
  1. Tamagotchi can be equipped with items even if weather does not call for it.




Use Case Number9
ApplicationMain Application
Use Case NameBuy item from store
Use Case DescriptionThere is an item shop in the game where users can purchase various things.
Primary ActorUser
PreconditionNone
TriggerUser presses the Enter Store button
Basic Flow
  1. The user selects the item they wish to purchase.
  2. A description of the item appears and its cost
  3. The user buys the item
  4. Item is added to the backpack
Alternate FlowsUser does not have enough money
  1. The user is alerted that they do not have enough money to purchase the item.
  2. User not allowed to purchase the item

Backpack is full
  1. User is alerted that their backpack is full
  2. User not allowed to purchase the item












Use Case Number10
ApplicationMain Application
Use Case NamePlay minigame
Use Case DescriptionThe user wishes to play a minigame to earn money and/or achievements
Primary ActorUser
PreconditionNone
TriggerUser selects minigame from menu
Basic Flow
  1. The user selects a minigame to play
  2. User enters minigame
  3. If user wins, the user earns money and/or achievements
  4. Money is saved
  5. User is prompted to play again or return to the menu
Alternate Flows
  1. User quits in the middle of game
  2. User loses minigame state, but Tamagotchi state is still saved.




Use Case Number11
ApplicationMain Application
Use Case NameVoice Command
Use Case DescriptionThe user wants to talk to the Tamagotchi
Primary ActorUser
PreconditionNone
TriggerUser presses the microphone icon
Basic Flow
  1. User presses the microphone icon
  2. User says a voice command
  3. Tamagotchi reacts accordingly
Alternate Flows
  1. User says an unrecognized command
  2. Tamagotchi does not respond or looks confused





Plan & Schedule

3/2Application design finished. (Design of main game, GPS weather, mini games, database synchronization, etc)
3/9Basic implementation of game completed and testing done.
Work started on synchronizing pet stats with online database
3/16Spring recess - Testing, bug fixes
3/23GPS weather system finished
Database created and able to sync
Begin work on battle system
3/30Demonstration I
Presentation II
Report I Due
Working Android application that can demonstrate GPS weather system and database syncing.
4/6Being implementation of mini games, further testing on main program
Battle system working
4/13Demonstration II
Presentation III
Report II Due
Demonstrate battle system and anything we have done on the mini games
4/20At least 2 mini games completed and integrated into the main game
Battle system finished
Start work on items and online store
Possibly add voice recognition
5/4Final Project Presentations and Demonstrations
Final Report Due
Individual Report Due



Deliverables

3/30 - Working Android application that can demonstrate GPS weather system and database backups. (Use cases 1-4 completed)

4/13 - Working battle system and a working mini game. (Use cases 5, 6, and 8 completed, possibly UC-10)

5/4 - Item store finished and at least 2 mini games added. (Use cases 9 and 10 version 2 completed)


Glossary

Tamagotchi - A virtual pet device first released in the late 1990s.

Facebook - A social networking service and website launched in February 2004

Farmville - a farming simulation social network game developed by Zynga in 2009

Website

http://tamacapstone.blogspot.com/