An Android application that plays the game of Hearts.
hearts_proj is hosted in the following web site
https://github.com/Sharkbuck/hearts_proj
If you think the Android project hearts_proj listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
The following table is the detailed list of hearts_proj.
Item | Value |
---|---|
Java File Count | 40 |
Supported screen sizes | [hdpi] |
Target SDK Version | 15 |
Minimum SDK Version | 11 |
Activity Count | 1 |
jar files used | android-support-v4.jar |
Required Permissions | android.permission.ACCESS_NETWORK_STATE android.permission.INTERNET |
There are 60 image files in hearts_proj. The names of the image files are listed as follows.
card_2c.png card_2d.png card_2h.png card_2s.png card_3c.png card_3d.png card_3h.png card_3s.png card_4c.png card_4d.png card_4h.png card_4s.png card_5c.png card_5d.png card_5h.png card_5s.png card_6c.png card_6d.png card_6h.png card_6s.png card_7c.png card_7d.png card_7h.png card_7s.png card_8c.png card_8d.png card_8h.png card_8s.png card_9c.png card_9d.png card_9h.png card_9s.png card_ac.png card_ad.png card_ah.png card_as.png card_jb.png card_jc.png card_jd.png card_jh.png card_jr.png card_js.png card_kc.png card_kd.png card_kh.png card_ks.png card_qc.png card_qd.png card_qh.png card_qs.png card_tc.png card_td.png card_th.png card_ts.png ic_action_search.png purple_delete_button.png suit_c.png suit_d.png suit_h.png suit_s.png
The following screenshort is generated from the image listed above.
hearts_proj has the following Java source files.
edu.up.cs301.animation.AnimationSurface.java edu.up.cs301.animation.Animator.java edu.up.cs301.card.Card.java edu.up.cs301.game.Game.java edu.up.cs301.game.GameComputerPlayer.java edu.up.cs301.game.GameHumanPlayer.java edu.up.cs301.game.GameMainActivity.java edu.up.cs301.game.GamePlayer.java edu.up.cs301.game.LocalGame.java edu.up.cs301.game.ProxyGame.java edu.up.cs301.game.ProxyPlayer.java edu.up.cs301.game.actionMsg.GameAction.java edu.up.cs301.game.actionMsg.GameOverAckAction.java edu.up.cs301.game.actionMsg.MyNameIsAction.java edu.up.cs301.game.actionMsg.ReadyAction.java edu.up.cs301.game.actionMsg.TimerAction.java edu.up.cs301.game.config.GameConfig.java edu.up.cs301.game.config.GamePlayerType.java edu.up.cs301.game.infoMsg.BindGameInfo.java edu.up.cs301.game.infoMsg.GameInfo.java edu.up.cs301.game.infoMsg.GameOverInfo.java edu.up.cs301.game.infoMsg.GameState.java edu.up.cs301.game.infoMsg.IllegalMoveInfo.java edu.up.cs301.game.infoMsg.NotYourTurnInfo.java edu.up.cs301.game.infoMsg.StartGameInfo.java edu.up.cs301.game.infoMsg.TimerInfo.java edu.up.cs301.game.util.GameTimer.java edu.up.cs301.game.util.IPCoder.java edu.up.cs301.game.util.MessageBox.java edu.up.cs301.game.util.NetworkObjectPasser.java edu.up.cs301.game.util.Tickable.java edu.up.cs301.hearts.HeartsComputerPlayer.java edu.up.cs301.hearts.HeartsHumanPlayer.java edu.up.cs301.hearts.HeartsLocalGame.java edu.up.cs301.hearts.HeartsMainActivity.java edu.up.cs301.hearts.HeartsPassAction.java edu.up.cs301.hearts.HeartsPlayAction.java edu.up.cs301.hearts.HeartsState.java