Skip to content

Go fish final  #2

@chhari

Description

@chhari

On running the final project in Go fish , i get the below errors

Error 1:

GoFish.Card.SetDisplayingOrder (System.Int32 order) (at Assets/Scripts/Card.cs:97)
GoFish.CardAnimator.InitializeDeck () (at Assets/Scripts/CardAnimator.cs:83)
GoFish.CardAnimator.Awake () (at Assets/Scripts/CardAnimator.cs:70)

Error 2:

parameter name: index
System.ThrowHelper.ThrowArgumentOutOfRangeException (System.ExceptionArgument argument, System.ExceptionResource resource) (at <437ba245d8404784b9fbab9b439ac908>:0)
System.ThrowHelper.ThrowArgumentOutOfRangeException () (at <437ba245d8404784b9fbab9b439ac908>:0)
System.Collections.Generic.List`1[T].get_Item (System.Int32 index) (at <437ba245d8404784b9fbab9b439ac908>:0)
GoFish.CardAnimator.DealDisplayingCards (GoFish.Player player, System.Int32 numberOfCard, System.Boolean animated) (at Assets/Scripts/CardAnimator.cs:113)
GoFish.Game.OnGameStarted () (at Assets/Scripts/Game.cs:157)
GoFish.Game.GameFlow () (at Assets/Scripts/Game.cs:102)

Error 3:
System.ThrowHelper.ThrowArgumentOutOfRangeException (System.ExceptionArgument argument, System.ExceptionResource resource) (at <437ba245d8404784b9fbab9b439ac908>:0)
System.ThrowHelper.ThrowArgumentOutOfRangeException () (at <437ba245d8404784b9fbab9b439ac908>:0)
System.Collections.Generic.List`1[T].get_Item (System.Int32 index) (at <437ba245d8404784b9fbab9b439ac908>:0)
GoFish.CardAnimator.DealDisplayingCards (GoFish.Player player, System.Int32 numberOfCard, System.Boolean animated) (at Assets/Scripts/CardAnimator.cs:113)
GoFish.Game.OnGameStarted () (at Assets/Scripts/Game.cs:157)
GoFish.Game.GameFlow () (at Assets/Scripts/Game.cs:102)
GoFish.Game.Start () (at Assets/Scripts/Game.cs:75)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions