# Bullseye Game crashes - partially made

**URL:** <https://forums.kodeco.com/t/bullseye-game-crashes-partially-made/144981>\
**Category:** UIKit Apprentice\
**Created:** [July 26, 2021, 1:14pm UTC](https://forums.kodeco.com/t/bullseye-game-crashes-partially-made/144981 "2021-07-26T13:14:34Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![hairyyak2005](https://assets.chunter.kodeco.com/user_avatar/forums.kodeco.com/hairyyak2005/32/81494_2.png) [@hairyyak2005](https://forums.kodeco.com/u/hairyyak2005)\
**Post date:** [July 26, 2021, 1:14pm UTC](https://forums.kodeco.com/t/bullseye-game-crashes-partially-made/144981/1 "2021-07-26T13:14:35Z")

</div>

Below is a link to some source files that I partially created whilst going through a tutorial on this book. Sorry for stating the obvious. I only got a little way through the tutorial before I ran into problems.

https://github.com/hairyyak95/bullseyegame-start.git

---

<div class="post-metadata">

**Author:** ![fahim](https://assets.chunter.kodeco.com/user_avatar/forums.kodeco.com/fahim/32/110943_2.png) [@fahim](https://forums.kodeco.com/u/fahim)\
**Post date:** [July 26, 2021, 1:53pm UTC](https://forums.kodeco.com/t/bullseye-game-crashes-partially-made/144981/2 "2021-07-26T13:53:05Z")

</div>

The error you get when you run the code is this:

![2021-07-26_09-49-24](https://files.chunter.kodeco.com/original/3X/e/c/ecd1ea3c242abe1f5b6d53d3e110c5c33a31e6c5.jpeg)

As is mentioned in the book, this generally means that an outlet is not connected to the matching control. Since the error is thrown for `scoreLabel`, the first thing to do would be to see if `scoreLabel` is properly connected in the storyboard.

If you check the view controller’s Connections Inspector, you will see this:  
 ![2021-07-26_09-50-04](https://files.chunter.kodeco.com/original/3X/4/2/42bf867f7dd90f717b4d4b1751ce56ea299e12e8.png)

As you will notice, the `scoreLabel` is not connected to its outlet.

---

<div class="post-metadata">

**Author:** ![hairyyak2005](https://assets.chunter.kodeco.com/user_avatar/forums.kodeco.com/hairyyak2005/32/81494_2.png) [@hairyyak2005](https://forums.kodeco.com/u/hairyyak2005)\
**Post date:** [July 26, 2021, 2:02pm UTC](https://forums.kodeco.com/t/bullseye-game-crashes-partially-made/144981/3 "2021-07-26T14:02:36Z")

</div>

I corrected the problem and it still doesn’t work.

---

<div class="post-metadata">

**Author:** ![hairyyak2005](https://assets.chunter.kodeco.com/user_avatar/forums.kodeco.com/hairyyak2005/32/81494_2.png) [@hairyyak2005](https://forums.kodeco.com/u/hairyyak2005)\
**Post date:** [July 26, 2021, 2:04pm UTC](https://forums.kodeco.com/t/bullseye-game-crashes-partially-made/144981/4 "2021-07-26T14:04:04Z")

</div>

I think it’s another error.

---

<div class="post-metadata">

**Author:** ![fahim](https://assets.chunter.kodeco.com/user_avatar/forums.kodeco.com/fahim/32/110943_2.png) [@fahim](https://forums.kodeco.com/u/fahim)\
**Post date:** [July 26, 2021, 2:04pm UTC](https://forums.kodeco.com/t/bullseye-game-crashes-partially-made/144981/5 "2021-07-26T14:04:09Z")

</div>

It would be helpful if you post what the error message you see or what the crash is. If it doesn’t work, please post a screenshot or explain the issue in detail instead of simply saying “it doesn’t work” so that somebody can help you.

---

<div class="post-metadata">

**Author:** ![hairyyak2005](https://assets.chunter.kodeco.com/user_avatar/forums.kodeco.com/hairyyak2005/32/81494_2.png) [@hairyyak2005](https://forums.kodeco.com/u/hairyyak2005)\
**Post date:** [July 26, 2021, 2:11pm UTC](https://forums.kodeco.com/t/bullseye-game-crashes-partially-made/144981/6 "2021-07-26T14:11:14Z")

</div>

Don’t worry about. I worked it out. Thanks for help.
