Skip to main content

NOTICE: On Friday Nov 6, Workspaces will be temporarily unavailable for maintenance.

🚀 In our NEW AI Bootcamp you'll build a working app in 28 days, no experience required. Free to all subscription levels.

✨ Earn college credits in Cybersecurity, JS, HTML, CSS and Python

Join the Treehouse affiliate program and earn 25% recurring commission! 🤑

  • Treehouse Logo
    • For Individuals
    • For Businesses
    • For Schools
    • For Libraries
    • For Military
    • All Courses
    • Tracks
    • AI Bootcamp
    • College Credit
    • Techdegree Bootcamps
    • Front End Development
    • Full Stack JavaScript
    • Code Adventures
    • Discord
    • Forum
    • Success Stories
    • Treehouse Links
    • 100 Days of Code
    • Explore
    • Career Toolbox
    • Free Treehouse Near Me
    • Affiliates
    • Blog
    • Support
    • About
    • Learn
    • Beginner's Guide to Coding
    • Data Analysis with SQL & Python
    • Front-End Web Development
    • Python Programming Basics
    • Techdegree Bootcamp Overview
    • UX Design Fundamentals
    • AI Tools for Beginners
  • For Individuals For Businesses For Schools For Libraries For Military
  • All Courses Tracks AI Bootcamp College Credit
  • Techdegree Bootcamps Front End Web Development Full Stack JavaScript
  • Code Adventures Discord Forum Success Stories Treehouse Links 100 Days of Code
  • Explore Career Toolbox Free Treehouse Near Me Affiliates Blog Support About
    Learn Beginner's Guide to Coding Data Analysis with SQL & Python Front-End Web Development Python Programming Basics Techdegree Bootcamp Overview UX Design Fundamentals AI Tools for Beginners
  • Sign In
  • Free Trial
Instagram Twitter Facebook YouTube LinkedIn
Loading banner... Start your free trial at Treehouse
    • Newest
      • Newest
      • Active
      • Unanswered
      • Featured
    • All Topics
      • All Topics
      • • General Discussion
      • • AI
      • • APIs
      • • Coding for Kids
      • • College Credit
      • • Computer Science
      • • CSS
      • • Data Analysis
      • • Databases
      • • Design
      • • Development Tools
      • • Digital Literacy
      • • Game Development
      • • Go Language
      • • HTML
      • • Java
      • • JavaScript
      • • Learning Resources
      • • Machine Learning
      • • No-Code
      • • PHP
      • • Professional Growth
      • • Python
      • • Quality Assurance
      • • React
      • • Ruby
      • • Security
      • • Swift
      • • Vibe Coding
  • tryhw35
    tryhw35
    1,888 Points

    Level.cs: Invader.IsActive vs invaders.IsActive question

    Posted November 4, 2022 11:09am by tryhw35
    tryhw35
    1,888 Points
    • C#
    • C# Objects
    • Loops and Final Touches
    • Playing the Game

    1 Answer

  • Tyler Marquer
    Tyler Marquer
    12,859 Points

    I got an error i cant figure out how to fix

    Posted March 23, 2022 1:33pm by Tyler Marquer
    Tyler Marquer
    12,859 Points
    • C#
    • C# Objects
    • Loops and Final Touches
    • Playing the Game

    2 Answers

  • Elfar Oliver
    Elfar Oliver
    3,924 Points

    I get an error I can't fix

    Posted February 13, 2022 5:35pm by Elfar Oliver
    Elfar Oliver
    3,924 Points
    • C#
    • C# Objects
    • Loops and Final Touches
    • Playing the Game

    1 Answer

  • megm
    megm
    14,342 Points

    Always states "Player lost" in console.

    Posted January 21, 2021 10:42pm by megm
    megm
    14,342 Points
    • C#
    • C# Objects
    • Loops and Final Touches
    • Playing the Game

    0 Answers

  • Ilya Sikharulidze
    PLUS
    Ilya Sikharulidze
    Courses Plus Student 1,073 Points

    setting property

    Posted July 19, 2019 5:23pm by Ilya Sikharulidze
    Ilya Sikharulidze
    Courses Plus Student 1,073 Points
    • C#
    • C# Objects
    • Loops and Final Touches
    • Playing the Game

    1 Answer

  • <noob />
    <noob />
    17,063 Points

    Help in the challange of letting the user input the tower coordinates

    Posted April 8, 2019 6:54pm by <noob />
    <noob />
    17,063 Points
    • C#
    • C# Objects
    • Loops and Final Touches
    • Playing the Game

    7 Answers

  • Christian Fincher
    Christian Fincher
    3,065 Points

    NullReferenceException Tower

    Posted February 16, 2019 10:03pm by Christian Fincher
    Christian Fincher
    3,065 Points
    • C#
    • C# Objects
    • Loops and Final Touches
    • Playing the Game

    3 Answers

  • Ryan Pierson
    Ryan Pierson
    14,365 Points

    Game.cs(40,12): error CS1525: Unexpected symbol `Level', expecting `,' or `;' https://w.trhou.se/wpi7vdxtwa

    Posted January 27, 2019 12:01am by Ryan Pierson
    Ryan Pierson
    14,365 Points
    • C#
    • C# Objects
    • Loops and Final Touches
    • Playing the Game

    2 Answers

  • Fredrik Rönnehag
    Fredrik Rönnehag
    2,342 Points

    Creating the tower[] object

    Posted July 21, 2018 6:31pm by Fredrik Rönnehag
    Fredrik Rönnehag
    2,342 Points
    • C#
    • C# Objects
    • Loops and Final Touches
    • Playing the Game

    1 Answer

  • Chris Kopcow
    Chris Kopcow
    2,852 Points

    When asking a player to place towers using the console, is there a more concise way to write this?

    Posted February 14, 2018 6:29am by Chris Kopcow
    Chris Kopcow
    2,852 Points
    • C#
    • C# Objects
    • Loops and Final Touches
    • Playing the Game

    1 Answer

  • Andrei Li
    Andrei Li
    34,486 Points

    How does "new MapLocation(1, 3, map)" works?

    Posted February 11, 2018 8:57pm by Andrei Li
    Andrei Li
    34,486 Points
    • C#
    • C# Objects
    • Loops and Final Touches
    • Playing the Game

    5 Answers

  • Unsubscribed User
    Unsubscribed User
    2,446 Points

    Something is extremely wrong..........

    Posted September 2, 2017 9:22pm by Unsubscribed User
    Unsubscribed User
    2,446 Points
    • C#
    • C# Objects
    • Loops and Final Touches
    • Playing the Game

    0 Answers

  • György Varga
    György Varga
    19,198 Points

    User inputs tower details

    Posted July 20, 2017 12:11pm by György Varga
    György Varga
    19,198 Points
    • C#
    • C# Objects
    • Loops and Final Touches
    • Playing the Game

    1 Answer

  • Jamie Wyton
    Jamie Wyton
    3,011 Points

    Why am I winning?!

    Posted June 25, 2017 10:48am by Jamie Wyton
    Jamie Wyton
    3,011 Points
    • C#
    • C# Objects
    • Loops and Final Touches
    • Playing the Game

    1 Answer

  • Angel Smith
    Angel Smith
    1,590 Points

    A section of my code for receiving location input from the player isn't working, and I'm not sure how to fix it.

    Posted May 20, 2017 8:48pm by Angel Smith
    Angel Smith
    1,590 Points
    • C#
    • C# Objects
    • Loops and Final Touches
    • Playing the Game

    2 Answers

  • Michael North
    Michael North
    2,561 Points

    Program.cs is a binary file

    Posted May 13, 2017 4:07pm by Michael North
    Michael North
    2,561 Points
    • C#
    • C# Objects
    • Loops and Final Touches
    • Playing the Game

    1 Answer

  • Michael North
    Michael North
    2,561 Points

    Many errors

    Posted May 13, 2017 1:58pm by Michael North
    Michael North
    2,561 Points
    • C#
    • C# Objects
    • Loops and Final Touches
    • Playing the Game

    3 Answers

  • Thanitsak Leuangsupornpong
    Thanitsak Leuangsupornpong
    7,490 Points

    My game keep me lost even I placed several of towers.

    Posted March 31, 2017 1:20am by Thanitsak Leuangsupornpong
    Thanitsak Leuangsupornpong
    7,490 Points
    • C#
    • C# Objects
    • Loops and Final Touches
    • Playing the Game

    1 Answer

  • janeporter
    PLUS
    janeporter
    Courses Plus Student 23,471 Points

    getting several runtime errors when i try to run the game...

    Posted January 13, 2017 7:35pm by janeporter
    janeporter
    Courses Plus Student 23,471 Points
    • C#
    • C# Objects
    • Loops and Final Touches
    • Playing the Game

    1 Answer

  • Tony Lawrence
    Tony Lawrence
    3,056 Points

    My game never Tells me who won or who lost.

    Posted October 19, 2016 2:12am by Tony Lawrence
    Tony Lawrence
    3,056 Points
    • C#
    • C# Objects
    • Loops and Final Touches
    • Playing the Game

    1 Answer

  • Koray Erkan
    Koray Erkan
    1,235 Points

    Why am I losing?

    Posted October 6, 2016 10:40am by Koray Erkan
    Koray Erkan
    1,235 Points
    • C#
    • C# Objects
    • Loops and Final Touches
    • Playing the Game

    2 Answers

Posting to the forum is only allowed for members with active accounts.
Please sign in or sign up to post.

Techdegree

  • Front End Web Development
  • Full Stack JavaScript
SEE ALL

Tracks

  • Learn to Code for Beginners
  • Beginning Python
  • Beginning SQL
  • Beginning Java
SEE ALL

Courses

  • JavaScript Basics
  • Intro to HTML & CSS
  • Python Basics
  • CSS Layout
SEE ALL

About Us

  • About
  • Blog
  • Community
  • Stories
  • Contact
  • Gift Card

Explore

  • Plans
  • Affiliates
  • Perks
  • Shop
  • Free Treehouse Near Me
  • Treehouse for Libraries
  • Treehouse for Businesses

Treehouse is an online technology education platform founded in 2011. Treehouse offers more than 700 self-paced, video-based courses in web development, programming, data analysis, design, and AI, plus two project-based bootcamp programs in Front End Web Development and Full Stack JavaScript. Individual Treehouse plans start at $25 per month and include a 7-day free trial. Treehouse serves individual learners, businesses, schools, and public libraries. Cardholders at participating U.S. public libraries can use Treehouse for free. Select Treehouse courses, offered with University Pathways International, are recommended for college credit by ACE and NCCRS. Treehouse learners earn digital certificates for completed Tracks.

Terms & Conditions · Privacy · © 2026 Treehouse Island, Inc.
  • Twitter
  • YouTube
  • Facebook
  • LinkedIn
  • Instagram
  • Discord