BoardBank icon indicating copy to clipboard operation
BoardBank copied to clipboard

Add Transaction Log

Open MiguelTepale opened this issue 7 years ago • 10 comments

Completed.

MiguelTepale avatar Aug 19 '17 06:08 MiguelTepale

Hi and thank you for your contribution to this project, I like what you did there!

  • I just tested your repo and noticed that the app crashes as soon as transaction values exceed 16 bits ($32,767). Please use Int or Int64 instead of Int16 for storing the balances.
  • I noticed that you converted some of my documentation (///) to comments (//). You can check out this post to find out more about why I intentionally used three slashes instead of two.

After you fixed this I would love to merge your pr 🙂

richardneitzke avatar Aug 19 '17 07:08 richardneitzke

Hi Richard,

Got it, I will change the necessary values and comments. You can expect the commit later this evening.

Best, Miguel

On Sat, Aug 19, 2017 at 3:57 AM, Richard [email protected] wrote:

Hi and thank you for your contribution to this project, I like what you did there!

  • I just tested your repo and noticed that the app crashes as soon as transaction values exceed 16 bits ($32,767). Please use Int or Int64 instead of Int16 for storing the balances.
  • I noticed that you converted some of my documentation (///) to comments (//). You can check out this post http://zeemboo.com/swift-basics-using-comments-in-swift-code-documentation/ to find out more about why I intentionally used three slashes instead of two.

After you fixed this I would love to merge your pr 🙂

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/richardxyx/BoardBank/pull/8#issuecomment-323508113, or mute the thread https://github.com/notifications/unsubscribe-auth/APcXCM0WEeuigeiFVall-kou0ykJybOpks5sZpV9gaJpZM4O8Pqj .

MiguelTepale avatar Aug 20 '17 01:08 MiguelTepale

Thanks! I made some improvements to the UI and project structure. I noticed that the undo functionallity is flawed since the app allows two players to have the same name. When two players have the same name and switched poisitions, the system creates money out of nowhere.

richardneitzke avatar Aug 20 '17 09:08 richardneitzke

Hi Richard,

I have a suggestion that can fix the bug that you found.

  • Would you be okay if I created a UIAlertController to prevent from players from picking the same token twice? This would help me with fixing the bug and in Monopoly, a player is associated to one unique token.

Miguel

MiguelTepale avatar Aug 21 '17 21:08 MiguelTepale

Yes, I would be ok with that. What if the user deletes a player and creates a new one with the same token though? We might want to give each user a unique id to get around this.

richardneitzke avatar Aug 22 '17 11:08 richardneitzke

Great suggestion on creating a unique id for each player. Next commit will be for the UIAlertController.

MiguelTepale avatar Aug 22 '17 19:08 MiguelTepale

All necessary changes have been made, go ahead and check it out when you have a chance.

MiguelTepale avatar Aug 27 '17 17:08 MiguelTepale

Hi and thank you for your contribution. I will review the changes in a few days and if everything is ok I will eventually merge them and push an update to the AppStore.

richardneitzke avatar Aug 28 '17 19:08 richardneitzke

Hi Miguel! Sorry for this taking literally a year. I just came back to this project and will review your PR again. I will most likely model the transaction log after your implementation.

richardneitzke avatar Aug 18 '18 16:08 richardneitzke

Hi Richard, great to hear from you again. Sorry for not getting back to you sooner, I was away for a bit. Looking forward to working with you again and hopefully contributing more to your project.

MiguelTepale avatar Sep 02 '18 00:09 MiguelTepale